-
Notifications
You must be signed in to change notification settings - Fork 3
/
page.php
47 lines (37 loc) · 853 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* Pages
*
* @package Ground
*/
get_template_part( 'partials/header' );
?>
<div class="container
<?php
if ( is_cart() || is_account_page() ) {
echo 'container--medium';
} if ( is_checkout() ) {
echo 'container--small'; }
?>
">
<div class="row">
<?php if ( is_checkout() || is_cart() || is_account_page() ) { ?>
<div class="gr-12">
<?php } else { ?>
<?php get_template_part( 'partials/breadcrumbs' ); ?>
<div class="gr-12 gr-3@md">
<?php get_template_part( 'partials/sidebar', 'primary' ); ?>
</div>
<div class="gr-12 gr-9@md">
<?php } ?>
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'partials/content', 'page' );
endwhile;
?>
</div>
</div> <!-- End .row -->
</div> <!-- End .container -->
<?php
get_template_part( 'partials/footer' );