Permalink
Cannot retrieve contributors at this time
business/page.php
Go to file<?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')?> | |
<div id="page-page"> | |
<?php if (have_posts()) : while ( have_posts() ) : the_post(); ?> | |
<?php if (has_post_thumbnail()){ ?> | |
<div class="row" id="page-featured-image"> | |
<div class="col-sm-12"> | |
<?php the_post_thumbnail('full'); ?> | |
</div> | |
</div> | |
<?php };?> | |
<div class="row"> | |
<div class="col-sm-12"> | |
<div id="page-business-main"> | |
<?php executive_breadcrumbs(); ?> | |
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?'9 col-sm-push-3':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')?> | |
<?php if ( is_active_sidebar( $sidebar ) ) { | |
echo '</div><!-- /row-->'; | |
}?> | |
</div> | |
</div> | |
</div> | |
<?php endwhile; endif; // end of the loop. ?> | |
</div> | |
<?php get_footer(); ?> |