max_num_pages < 2 ) { return; } ?> ← Older posts', 'minnow' ) ); ?> →', 'minnow' ) ); ?> post_parent ) : get_adjacent_post( false, '', true ); $next = get_adjacent_post( false, '', false ); if ( ! $next && ! $previous ) { return; } ?> %link', _x( '← %title', 'Previous post link', 'minnow' ) ); next_post_link( '%link', _x( '%title →', 'Next post link', 'minnow' ) ); ?> %2$s'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = '%2$s%4$s'; } $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 . ''; $byline = '' . esc_html( get_the_author() ) . ''; echo '' . $posted_on . ' ' . $byline . ''; if ( 'post' == get_post_type() ) { /* translators: used between list items, there is a space after the comma */ the_tags( '', esc_html__( ', ', 'minnow' ), '' ); } if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; comments_popup_link( __( 'Leave a comment', 'minnow' ), __( '1 Comment', 'minnow' ), __( '% Comments', 'minnow' ) ); echo ''; } edit_post_link( __( 'Edit', 'minnow' ), '', '' ); } endif; if ( ! function_exists( 'minnow_entry_format' ) ) : /** * Prints HTML with meta information for the post format, if it exists. */ function minnow_entry_format() { $format = get_post_format(); $formats = get_theme_support( 'post-formats' ); //If the post has no format, or if it's not a format supported by the theme, return if ( ! $format || ! has_post_format( $formats[0] ) ) : printf( '%2$s', esc_url( get_permalink() ), get_the_title() ); else : printf( '%3$s', esc_url( get_post_format_link( $format ) ), esc_attr( sprintf( __( 'All %s posts', 'minnow' ), get_post_format_string( $format ) ) ), get_post_format_string( $format ) ); endif; } endif;