forked from VisualComposer/visual-composer-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
32 lines (29 loc) · 1022 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
26
27
28
29
30
31
32
<?php
/**
* Page template
*
* @package WordPress
* @subpackage Visual Composer Starter
* @since Visual Composer Starter 1.0
*/
get_header(); ?>
<div class="<?php echo esc_attr( visualcomposerstarter_get_content_container_class() ); ?>">
<div class="content-wrapper">
<div class="row">
<div class="<?php echo esc_attr( visualcomposerstarter_get_maincontent_block_class() ); ?>">
<div class="main-content">
<?php
// Start the loop.
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'page' );
endwhile; // End the loop.
?>
</div><!--.main-content-->
</div><!--.<?php echo esc_html( visualcomposerstarter_get_maincontent_block_class() ); ?>-->
<?php if ( visualcomposerstarter_get_sidebar_class() ) : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
</div><!--.row-->
</div><!--.content-wrapper-->
</div><!--.<?php echo esc_html( visualcomposerstarter_get_content_container_class() ); ?>-->
<?php get_footer();