forked from brandondove/layerswp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
25 lines (22 loc) · 735 Bytes
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
* The template for displaying a page
*
* @package Layers
* @since Layers 1.0.0
*/
get_header(); ?>
<section id="post-<?php the_ID(); ?>" <?php post_class( 'container content-main clearfix' ); ?>>
<?php do_action('layers_before_page_loop'); ?>
<div class="row">
<?php if( have_posts() ) : ?>
<?php while( have_posts() ) : the_post(); ?>
<article <?php layers_center_column_class(); ?>>
<?php get_template_part( 'partials/content', 'single' ); ?>
</article>
<?php endwhile; // while has_post(); ?>
<?php endif; // if has_post() ?>
</div>
<?php do_action('layers_after_page_loop'); ?>
</section>
<?php get_footer();