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() ) ); if ( is_sticky() && is_home() ) : printf( '%1$s ', __( 'Featured', 'hemingway-rewritten' ), sprintf( ' ', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ) ); else : printf( '%1$s ', sprintf( '%2$s', esc_url( get_permalink() ), $time_string ), sprintf( ' ', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ) ); endif; } endif; /** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. * */ if ( ! function_exists( 'hemingway_rewritten_comment' ) ) : function hemingway_rewritten_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>