Header. elseif ( get_header_image() ) : // Hide header image on front page. if ( true === $theme_options['custom_header_hide'] and is_front_page() ) { return; } ?>
<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> <?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>
' . $postmeta . ''; } } // beetle_entry_meta() endif; if ( ! function_exists( 'beetle_meta_date' ) ) : /** * Displays the post date */ function beetle_meta_date() { $time_string = sprintf( '', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); return '' . $time_string . ''; } // beetle_meta_date() endif; if ( ! function_exists( 'beetle_meta_author' ) ) : /** * Displays the post author */ function beetle_meta_author() { $author_string = sprintf( '', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( esc_html__( 'View all posts by %s', 'beetle' ), get_the_author() ) ), esc_html( get_the_author() ) ); return ' ' . $author_string . ''; } // beetle_meta_author() endif; if ( ! function_exists( 'beetle_meta_category' ) ) : /** * Displays the category of posts */ function beetle_meta_category() { return ' ' . get_the_category_list( ', ' ) . ''; } // beetle_meta_category() endif; if ( ! function_exists( 'beetle_entry_tags' ) ) : /** * Displays the post tags on single post view */ function beetle_entry_tags() { // Get theme options from database. $theme_options = beetle_theme_options(); // Get tags. $tag_list = get_the_tag_list( '', '' ); // Display tags. if ( $tag_list && $theme_options['meta_tags'] ) : ?>
'' . esc_html_x( 'Previous Post:', 'post navigation', 'beetle' ) . '%title', 'next_text' => '' . esc_html_x( 'Next Post:', 'post navigation', 'beetle' ) . '%title', ) ); } } endif; if ( ! function_exists( 'beetle_breadcrumbs' ) ) : /** * Displays ThemeZee Breadcrumbs plugin */ function beetle_breadcrumbs() { if ( function_exists( 'themezee_breadcrumbs' ) ) { themezee_breadcrumbs( array( 'before' => '', ) ); } } endif; if ( ! function_exists( 'beetle_related_posts' ) ) : /** * Displays ThemeZee Related Posts plugin */ function beetle_related_posts() { if ( function_exists( 'themezee_related_posts' ) ) { themezee_related_posts( array( 'class' => 'related-posts type-page clearfix', 'before_title' => '', ) ); } } endif; if ( ! function_exists( 'beetle_pagination' ) ) : /** * Displays pagination on archive pages */ function beetle_pagination() { global $wp_query; $big = 999999999; // Need an unlikely integer. $paginate_links = paginate_links( array( 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var( 'paged' ) ), 'total' => $wp_query->max_num_pages, 'next_text' => '' . esc_html_x( 'Next Posts', 'pagination', 'beetle' ) . '»', 'prev_text' => '«' . esc_html_x( 'Previous Posts', 'pagination', 'beetle' ) . '', 'add_args' => false, ) ); // Display the pagination if more than one page is found. if ( $paginate_links ) : ?>
WordPress', 'Beetle' ); ?>