max_num_pages < 2 ) { return; } ?> post_parent ) : get_adjacent_post( false, '', true ); $next = get_adjacent_post( false, '', false ); if ( ! $next && ! $previous ) { return; } ?> %2$s'; 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( esc_html_x( 'Posted on %s', 'post date', 'argent' ), '' . $time_string . '' ); $byline = sprintf( esc_html_x( 'by %s', 'post author', 'argent' ), ' ' ); echo '' . $posted_on . ' '; } endif; if ( ! function_exists( 'argent_entry_meta' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. */ function argent_entry_meta() { // Hide category and tag text for pages. if ( 'post' == get_post_type() ) { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( __( ', ', 'argent' ) ); if ( $categories_list && argent_categorized_blog() ) { printf( '' . esc_html__( 'Posted in %1$s', 'argent' ) . '', $categories_list ); } /* translators: used between list items, there is a space after the comma */ the_tags( sprintf( ' ' ); } if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; comments_popup_link( esc_html__( 'Leave a comment', 'argent' ), esc_html__( '1 Comment', 'argent' ), esc_html__( '% Comments', 'argent' ) ); echo ''; } edit_post_link( esc_html__( 'Edit', 'argent' ), '', '' ); } endif; if ( ! function_exists( 'argent_comment' ) ) : /** * Template for comments and pingbacks. * Used as a callback by wp_list_comments() for displaying the comments. */ function argent_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?>