', '' ); } else { if ( 'post' == get_post_type() ) { eighteen_tags_posted_on(); } the_title( sprintf( '

', esc_url( get_permalink() ) ), '

' ); } ?>
' . get_the_title() . '' ) ); wp_link_pages( array( 'before' => '', ) ); ?>
' . esc_attr( __( 'Categories: ', 'eighteen-tags' ) ) . ''; echo wp_kses_post( $categories_list ); ?> ' . esc_attr( __( 'Tags: ', 'eighteen-tags' ) ) . ''; echo wp_kses_post( $tags_list ); ?> 'list', 'next_text' => _x( 'Next', 'Next post', 'eighteen-tags' ) . ' ', 'prev_text' => ' ' . _x( 'Previous', 'Previous post', 'eighteen-tags' ), ); the_posts_pagination( $args ); } } if ( ! function_exists( 'eighteen_tags_post_nav' ) ) { /** * Display navigation to next/previous post when applicable. */ function eighteen_tags_post_nav() { $args = array( 'next_text' => '%title  ', 'prev_text' => ' %title', ); the_post_navigation( $args ); } } if ( ! function_exists( 'eighteen_tags_posted_on' ) ) { /** * Prints HTML with meta information for the current post-date/time and author. */ function eighteen_tags_posted_on() { $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( _x( '%s', 'post date', 'eighteen-tags' ), '' . $time_string . '' ); $byline = sprintf( _x( 'By %s', 'post author', 'eighteen-tags' ), '' ); echo apply_filters( 'eighteen_tags_single_post_posted_on_html', ' ' . $byline . '' . $posted_on . '', $posted_on, $byline ); } }