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(){ ?>
'; blog_prime_entry_footer( $cats = true,$tags = false,$edits = false ); echo '
'; } echo '
'; echo '

'; the_title(); echo '

'; if ( 'post' === get_post_type() ){ ?> "; blog_prime_post_thumbnail(); if( has_excerpt() ){ echo '
'; the_excerpt(); echo '
'; } endwhile; } if( is_archive() ){ ?>
'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; }); if( class_exists( 'Booster_Extension_Class' ) ){ add_filter('booster_extemsion_content_after_filter','blog_prime_after_content_pagination'); } if( !function_exists('blog_prime_after_content_pagination') ): function blog_prime_after_content_pagination($after_content){ $pagination_single = wp_link_pages( array( 'before' => '', 'echo' => false ) ); $after_content = $pagination_single.$after_content; return $after_content; } endif; if( !function_exists('blog_prime_post_floating_nav') ): function blog_prime_post_floating_nav(){ $default = blog_prime_get_default_theme_options(); $ed_floating_next_previous_nav = get_theme_mod( 'ed_floating_next_previous_nav',$default['ed_floating_next_previous_nav'] ); if( 'post' === get_post_type() && $ed_floating_next_previous_nav ){ $next_post = get_next_post(); $prev_post = get_previous_post(); if( isset( $prev_post->ID ) ){ $prev_link = get_permalink( $prev_post->ID );?>
ID,'medium' ) ){ ?> ID,'medium' ) ); ?> ID ) ); ?>
ID ) ){ $next_link = get_permalink( $next_post->ID );?>
ID,'medium' ) ){ ?> ID,'medium' ) ); ?> ID ) ); ?>