diff --git a/src/wp-content/themes/twentyfourteen/archive.php b/src/wp-content/themes/twentyfourteen/archive.php index 60f87113aa..4caf0b842f 100644 --- a/src/wp-content/themes/twentyfourteen/archive.php +++ b/src/wp-content/themes/twentyfourteen/archive.php @@ -49,7 +49,7 @@ get_header(); ?> twentyfourteen_get_template_part(); endwhile; - twentyfourteen_content_nav( 'nav-below' ); + twentyfourteen_paging_nav(); else : get_template_part( 'no-results', 'archive' ); diff --git a/src/wp-content/themes/twentyfourteen/comments.php b/src/wp-content/themes/twentyfourteen/comments.php index 1de298ace3..7df27bb4d6 100644 --- a/src/wp-content/themes/twentyfourteen/comments.php +++ b/src/wp-content/themes/twentyfourteen/comments.php @@ -56,7 +56,7 @@ if ( post_password_required() ) -

+

diff --git a/src/wp-content/themes/twentyfourteen/content-post-format.php b/src/wp-content/themes/twentyfourteen/content-post-format.php index b25487a215..6ef2a22acd 100644 --- a/src/wp-content/themes/twentyfourteen/content-post-format.php +++ b/src/wp-content/themes/twentyfourteen/content-post-format.php @@ -3,37 +3,31 @@ * @package WordPress * @subpackage Twenty_Fourteen */ -$format = get_post_format(); ?> -
> +
> $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) ); + if ( has_post_format( 'gallery' ) ) : + $images = get_children( array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) ); if ( $images ) : - $image = array_shift( $images ); ?> + $image = array_shift( $images ); + ?> ID, 'featured-thumbnail-large' ); ?> - +
- + + + - ', '' ); - ?> + ', '' ); ?>