%2$s'; if (get_the_time('U') !== get_the_modified_time('U')) { $time_string = ''; } $time_string = sprintf($time_string, esc_attr(get_the_date(DATE_W3C)), esc_html(get_the_date()), esc_attr(get_the_modified_date(DATE_W3C)), esc_html(get_the_modified_date()) ); $posted_on = sprintf( '' ); echo '
  • ' . $posted_on . '
  • '; // WPCS: XSS OK. } endif; if (!function_exists('blogger_buzz_posted_by')) : /** * Prints HTML with meta information for the current author. */ function blogger_buzz_posted_by() { echo '
  • ' . esc_html(get_the_author()) . '
  • '; // WPCS: XSS OK. } endif; if (!function_exists('blogger_buzz_comments')) : /** * Prints HTML with meta information for the current author. */ function blogger_buzz_comments() { echo '
  • '; comments_popup_link( sprintf( wp_kses( /* translators: %s: post title */ __('Leave a Comment on %s', 'blogger-buzz'), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ) ); echo '
  • '; // WPCS: XSS OK. } endif; /** * Category Lists. */ if (!function_exists('blogger_buzz_category')) : function blogger_buzz_category() { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category(); foreach ($categories_list as $category) { echo ' '; } } endif; if (!function_exists('blogger_buzz_tags')) : function blogger_buzz_tags() { /* translators: used between list items, there is a space after the comma */ $posttags = get_the_tags(); $count = 0; $sep = '
  • '; if ($posttags) { foreach ($posttags as $tag) { $count++; echo $sep . '' . '#' . esc_attr($tag->name) . ''; $sep = ', '; if ($count > 10) break; } echo '
  • '; } } endif; if (!function_exists('blogger_buzz_entry_footer')) : /** * Prints HTML with meta information for the categories, tags and comments. */ function blogger_buzz_entry_footer() { edit_post_link( sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __('Edit %s', 'blogger-buzz'), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ), '', '' ); } endif; if (!function_exists('blogger_buzz_post_thumbnail')) : /** * Displays an optional post thumbnail. * * Wraps the post thumbnail in an anchor element on index views, or a div * element when on single views. */ function blogger_buzz_post_thumbnail(){ if (post_password_required() || is_attachment() || !has_post_thumbnail()) { return; } if (is_singular()) : ?>
    '; if (!empty($social_icon)) : $social_icon = json_decode($social_icon); foreach ($social_icon as $icon): echo '
  • '; endforeach; endif; if ($header_layout == 'layout_two' && $search == 'enable'): echo '
  • '; endif; if ($header_layout == 'layout_two' && $sidenav == 'enable'): echo '
  • '; endif; echo ''; } endif; if (!function_exists('blogger_buzz_site_branding')): /** * Site Branding. */ function blogger_buzz_site_branding(){ $header_layout = get_theme_mod('blogger_buzz_header_layout','layout_one'); ?>

    esc_html($prev, 'blogger-buzz'), 'next_text' => esc_html($next, 'blogger-buzz'), ) ); else: the_posts_pagination( array( 'prev_text' => esc_html__('Previous', 'blogger-buzz'), 'next_text' => esc_html__('Next', 'blogger-buzz'), ) ); endif; else: if (!empty($prev) || !empty($next)): the_posts_navigation( array( 'prev_text' => esc_html($prev, 'blogger-buzz'), 'next_text' => esc_html($next, 'blogger-buzz'), ) ); else: the_posts_navigation( array( 'prev_text' => esc_html__('Older Posts', 'blogger-buzz'), 'next_text' => esc_html__('Newer Posts', 'blogger-buzz'), ) ); endif; endif; } endif; /** * * Home Page Blog Posts Meta. * */ function blogger_buzz_post_meta(){ $enable_meta = get_theme_mod('blogger_buzz_enable_blog_meta', 'enable'); $date = get_theme_mod('blogger_buzz_posts_date', true); $author = get_theme_mod('blogger_buzz_posts_author', true); $comments = get_theme_mod('blogger_buzz_posts_comments', true); if ($enable_meta == 'enable') : ?>
    '; } } endif; add_action('wp_head', 'blogger_buzz_preloader', 25); if (!function_exists('blogger_buzz_dynamic_preloader')) { /** * Preloader Frontend Section area */ function blogger_buzz_dynamic_preloader(){ ?>