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

', '' ); ?> ', '
' ); ?>

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

' . $postmeta . ''; } endif; if ( ! function_exists( 'gt_focus_entry_date' ) ) : /** * Returns the post date */ function gt_focus_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 = sprintf( /* translators: %s: post date. */ esc_html_x( 'Posted on %s', 'post date', 'gt-focus' ), '' . $time_string . '' ); return '' . $posted_on . ''; } endif; if ( ! function_exists( 'gt_focus_entry_author' ) ) : /** * Returns the post author */ function gt_focus_entry_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', 'gt-focus' ), get_the_author() ) ), esc_html( get_the_author() ) ); $posted_by = sprintf( /* translators: %s: post author. */ esc_html_x( 'by %s', 'post author', 'gt-focus' ), $author_string ); return ' ' . $posted_by . ''; } endif; if ( ! function_exists( 'gt_focus_entry_categories' ) ) : /** * Displays the post categories */ function gt_focus_entry_categories() { // Return early if post has no category. if ( ! has_category() ) { return; } $posted_in = sprintf( /* translators: %s: post category. */ esc_html_x( 'in %s', 'post category', 'gt-focus' ), get_the_category_list( ', ' ) ); return ' ' . $posted_in . ''; } endif; if ( ! function_exists( 'gt_focus_entry_tags' ) ) : /** * Displays the post tags on single post view */ function gt_focus_entry_tags() { // Get tags. $tag_list = get_the_tag_list( esc_html__( 'Tags: ', 'gt-focus' ), ', ' ); // Display tags. if ( $tag_list ) : echo '

' . $tag_list . '

'; endif; } endif; if ( ! function_exists( 'gt_focus_pagination' ) ) : /** * Displays pagination on archive pages */ function gt_focus_pagination() { the_posts_pagination( array( 'mid_size' => 2, 'prev_text' => '«' . esc_html_x( 'Previous Posts', 'pagination', 'gt-focus' ) . '', 'next_text' => '' . esc_html_x( 'Next Posts', 'pagination', 'gt-focus' ) . '»', ) ); } endif;