-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
78 lines (44 loc) · 1.97 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?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 understrap
*/
get_header('front');
$container = get_theme_mod( 'understrap_container_type' ); // echo esc_attr( $container );
?>
<div class="wrapper" id="page-wrapper">
<div class="<?php echo esc_attr( $container ); ?> notFull" id="content">
<div class="content-area" id="primary">
<main class="site-main" id="main" role="main">
<!-- Top Row -->
<div class="row">
<div class="col-md-8">
<!-- beginning of the main column -->
<!-- Breadcrumb, hero image then title -->
<?php get_template_part( 'element-templates/page-header' ); ?>
<div class="entry-content">
<?php
global $post;
$content = apply_filters('the_content', $post->post_content);
echo $content;
?>
</div><!-- .entry-content -->
<?php get_template_part( 'element-templates/bottom_tiles1' ); ?>
</div> <!-- end of main column -->
<div class="col-md-4 sidebar"> <!-- beginning of Sidebar -->
<?php get_template_part( 'element-templates/sidebar-gallery' ); ?>
<?php get_template_part( 'element-templates/sidebar-upcoming-events' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
</div> <!-- end of right column -->
</div> <!-- end of Top Row-->
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- Container end -->
</div><!-- Wrapper end -->
<?php get_footer('main'); ?>