Skip to content

Commit

Permalink
Page
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Jul 30, 2014
1 parent b7b3a70 commit 220f9d7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package cornerstone
*/

get_header(); ?>
<?php include('inc/sidebar-check.php')?>

<?php while ( have_posts() ) : the_post(); ?>
<?php include('inc/submenu-check.php')?>
<div class="row">
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
</main>
</div>
</div>
<?php include('inc/sidebar-if-active.php')?>
</div>
<?php include('inc/submenu-closing-tags.php')?>
<?php endwhile; // end of the loop. ?>
<?php get_footer(); ?>

0 comments on commit 220f9d7

Please sign in to comment.