Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Code cleanup while loop page.php #1253

Merged
merged 1 commit into from
Mar 22, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
<div class="main-container">
<div class="main-grid">
<main class="main-content">
<?php
while ( have_posts() ) :
the_post();
?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/content', 'page' ); ?>
<?php comments_template(); ?>
<?php endwhile; ?>
Expand Down