'post', 'taxonomy' => 'category', ); $pm_cat_lists = get_categories( $pm_args ); $pm_cat_list = array('' => esc_html__('--Select--','blogson')); foreach( $pm_cat_lists as $category ) { $pm_cat_list[esc_html( $category->slug )] = esc_html( $category->name ); } return $pm_cat_list; } endif; /** * Get Page Title */ if( !function_exists( 'blogson_get_title' ) ): function blogson_get_title() { if(!is_front_page()) : ?>

theme_location == 'primary' ) return $items.'
'; return $items; } endif; if ( ! function_exists( 'blogson_filter_menu_search_hook' ) ) : function blogson_filter_menu_search_hook() { add_filter('wp_nav_menu_items','blogson_menu_search', 10, 2); } endif; add_action( 'wp', 'blogson_filter_menu_search_hook' ); /** * Preconnect Fonts */ function blogson_preconnect_fonts() { ?>