Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Adjust flow and add if posts check
Browse files Browse the repository at this point in the history
  • Loading branch information
admturner committed Aug 7, 2018
1 parent f6c9b19 commit dff4c07
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,31 @@
* @package WSU_Human_Resources_Services
* @since 0.17.0
*/
?>

<?php get_header(); ?>
get_header();
?>

<main id="wsuwp-main" class="spine-page-default">

<?php get_template_part( 'parts/headers' ); ?>

<section class="row single gutter pad-ends article-container">

<div class="column one">
<?php get_template_part( 'parts/headers' ); ?>

<?php while ( have_posts() ) : the_post(); ?>
<section class="row single gutter pad-ends article-container">
<div class="column one">

<?php get_template_part( 'articles/article' ); ?>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'articles/article' );
endwhile;
endif;
?>

<?php endwhile; ?>

</div><!--/column-->

</section>
</div><!--/column-->
</section>

<?php get_template_part( 'parts/footers' ); ?>

</main>

<?php get_footer();
<?php
get_footer();

0 comments on commit dff4c07

Please sign in to comment.