Get started here.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?>
@@ -31,5 +32,6 @@ +diff --git a/wp-content/themes/twentyfifteen/404.php b/wp-content/themes/twentyfifteen/404.php index e90e5dd3d8..9eedb3aace 100644 --- a/wp-content/themes/twentyfifteen/404.php +++ b/wp-content/themes/twentyfifteen/404.php @@ -1,6 +1,6 @@ - \ No newline at end of file + diff --git a/wp-content/themes/twentyfifteen/archive.php b/wp-content/themes/twentyfifteen/archive.php index 1a9f70609c..495d6341fa 100644 --- a/wp-content/themes/twentyfifteen/archive.php +++ b/wp-content/themes/twentyfifteen/archive.php @@ -1,6 +1,6 @@ ?> - - - - - - - __( 'Previous page', 'twentyfifteen' ), - 'next_text' => __( 'Next page', 'twentyfifteen' ), - 'before_page_number' => '
', - ) ); - ?> + // Start the Loop. + while ( have_posts() ) : the_post(); - + /* + * Include the Post-Format-specific template for the content. + * If you want to override this in a child theme, then include a file + * called content-___.php (where ___ is the Post Format name) and that will be used instead. + */ + get_template_part( 'content', get_post_format() ); - + // End the loop. + endwhile; - + // Previous/next page navigation. + the_pagination( array( + 'prev_text' => __( 'Previous page', 'twentyfifteen' ), + 'next_text' => __( 'Next page', 'twentyfifteen' ), + 'before_page_number' => ' ', + ) ); + + // If no content, include the "No posts found" template. + else : + get_template_part( 'content', 'none' ); + + endif; + ?> - \ No newline at end of file + diff --git a/wp-content/themes/twentyfifteen/author-bio.php b/wp-content/themes/twentyfifteen/author-bio.php index 20378b7ad3..839df911f4 100644 --- a/wp-content/themes/twentyfifteen/author-bio.php +++ b/wp-content/themes/twentyfifteen/author-bio.php @@ -1,6 +1,6 @@ + - \ No newline at end of file + diff --git a/wp-content/themes/twentyfifteen/comments.php b/wp-content/themes/twentyfifteen/comments.php index 8958ad336c..e1be95e56d 100644 --- a/wp-content/themes/twentyfifteen/comments.php +++ b/wp-content/themes/twentyfifteen/comments.php @@ -1,6 +1,6 @@ - \ No newline at end of file + diff --git a/wp-content/themes/twentyfifteen/content-link.php b/wp-content/themes/twentyfifteen/content-link.php index 8133e8974a..07f359900b 100644 --- a/wp-content/themes/twentyfifteen/content-link.php +++ b/wp-content/themes/twentyfifteen/content-link.php @@ -1,6 +1,6 @@ ', '' ); ?> - \ No newline at end of file + + diff --git a/wp-content/themes/twentyfifteen/content-none.php b/wp-content/themes/twentyfifteen/content-none.php index 01d50a9da2..63998419e0 100644 --- a/wp-content/themes/twentyfifteen/content-none.php +++ b/wp-content/themes/twentyfifteen/content-none.php @@ -1,8 +1,8 @@Get started here.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?>
@@ -31,5 +32,6 @@ +