urldecode( implode( '|', $fonts ) ), ), 'https://fonts.googleapis.com/css' ); } return esc_url_raw($fonts_url); } endif; if( !function_exists( 'blog_prime_post_category_list' ) ) : // Post Category List. function blog_prime_post_category_list(){ $post_cat_lists = get_categories( array( 'hide_empty' => '0', 'exclude' => '1', ) ); $post_cat_cat_array = array(); $post_cat_cat_array[''] = esc_html__( '--Select Category--','blog-prime' ); foreach ( $post_cat_lists as $post_cat_list ) { $post_cat_cat_array[$post_cat_list->slug] = $post_cat_list->name; } return $post_cat_cat_array; } endif; if( !function_exists( 'blog_prime_sanitize_sidebar_option' ) ) : // Sidebar Option Sanitize. function blog_prime_sanitize_sidebar_option( $input ){ $metabox_options = array( 'global-sidebar','left-sidebar','right-sidebar','no-sidebar' ); if( in_array( $input,$metabox_options ) ){ return $input; } else{ return ''; } } endif; if( !function_exists( 'blog_prime_posts_navigation' ) ) : // Posts Navigations. function blog_prime_posts_navigation(){ $default = blog_prime_get_default_theme_options(); $pagination_layout = esc_html( get_theme_mod( 'pagination_layout',$default['pagination_layout'] ) ); if( $pagination_layout == 'classic' ){ the_posts_navigation(); }else{ the_posts_pagination(); } } endif; if( !function_exists( 'blog_prime_breadcrumb' ) ) : // Trail Breadcrumb. function blog_prime_breadcrumb(){ ?>
'400') ); $author_name = esc_html( get_the_author_meta('display_name') ); $author_user_url = esc_url( get_the_author_meta('user_url') ); $author_description = esc_html( get_the_author_meta('description') ); $author_email = esc_html( get_the_author_meta('user_email') ); $author_post_url = esc_url( get_author_posts_url( get_the_author_meta('ID') ) ); ?> theme_location == 'twp-primary-menu' ) { if ( in_array( 'menu-item-has-children', $item->classes ) ) { $args->before = ''; } else { $args->before = ''; $args->after = ''; } } return $args; } add_filter( 'nav_menu_item_args', 'blog_prime_menu_toggle_button', 10, 3 ); endif; add_filter('booster_extension_filter_ss_ed', function () { return false; });