<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>
', '' ); ?> ', '' ); ?>

' . get_search_query() . '' ); ?>

' . $postmeta . ''; } endif; if ( ! function_exists( 'harrison_entry_date' ) ) : /** * Returns the post date */ function harrison_entry_date() { $time_string = ''; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); $posted_on = '' . $time_string . ''; return '' . $posted_on . ''; } endif; if ( ! function_exists( 'harrison_entry_author' ) ) : /** * Returns the post author */ function harrison_entry_author() { $author_string = sprintf( '', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), // translators: post author link. esc_attr( sprintf( esc_html__( 'View all posts by %s', 'harrison' ), get_the_author() ) ), esc_html( get_the_author() ) ); $posted_by = sprintf( /* translators: %s: post author. */ esc_html_x( 'by %s', 'post author', 'harrison' ), $author_string ); return ' ' . $posted_by . ''; } endif; if ( ! function_exists( 'harrison_entry_categories' ) ) : /** * Displays the post categories */ function harrison_entry_categories() { // Return early if post has no category. if ( ! has_category() ) { return; } $categories = get_the_category_list( '' ); echo '
' . $categories . '
'; } endif; if ( ! function_exists( 'harrison_entry_comments' ) ) : /** * Displays the post comments */ function harrison_entry_comments() { // Check if comments are open or we have at least one comment. if ( ! ( comments_open() || get_comments_number() ) ) { return; } // Start Output Buffering. ob_start(); // Display Comments. comments_popup_link( esc_html__( 'No comments', 'harrison' ), esc_html__( '1 comment', 'harrison' ), esc_html__( '% comments', 'harrison' ) ); $comments = ob_get_contents(); // End Output Buffering. ob_end_clean(); return ' ' . $comments . ''; } endif; if ( ! function_exists( 'harrison_entry_tags' ) ) : /** * Displays the post tags on single post view */ function harrison_entry_tags() { // Get tags. $tag_list = get_the_tag_list( sprintf( '%s', esc_html__( 'Tags', 'harrison' ) ) ); // Display tags. if ( $tag_list ) : echo '
' . $tag_list . '
'; endif; } endif; if ( ! function_exists( 'harrison_more_link' ) ) : /** * Displays the more link on posts */ function harrison_more_link() { // Get Read More Text. $read_more = harrison_get_option( 'read_more_link' ); if ( '' !== $read_more || is_customize_preview() ) : ?>
'' . esc_html_x( 'Previous Post', 'post navigation', 'harrison' ) . '

%title

', 'next_text' => '' . esc_html_x( 'Next Post', 'post navigation', 'harrison' ) . '

%title

', ) ); ?>
2, 'prev_text' => '«' . esc_html_x( 'Previous Posts', 'pagination', 'harrison' ) . '', 'next_text' => '' . esc_html_x( 'Next Posts', 'pagination', 'harrison' ) . '»', ) ); if ( $pagination ) : ?> ThemeZee' ); ?> '', ) ); } } endif; if ( ! function_exists( 'harrison_related_posts' ) ) : /** * Displays ThemeZee Related Posts plugin */ function harrison_related_posts() { if ( function_exists( 'themezee_related_posts' ) ) { themezee_related_posts( array( 'before' => '', 'container' => 'div', 'class' => 'related-posts', 'before_title' => '

', 'after_title' => '

', ) ); } } endif;