forked from UCF/Main-Site-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
31 lines (27 loc) · 944 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
<?php get_header(); the_post();?>
<div class="row page-content" id="<?php echo $post->post_name; ?>">
<div class="col-md-12 col-sm-12">
<div id="page-title">
<div class="row">
<div class="col-md-9 col-sm-9">
<h1><?php the_title(); ?></h1>
</div>
<?php esi_include( 'output_weather_data', 'col-md-3 col-sm-3' ); ?>
</div>
</div>
</div>
<?=get_page_subheader($post)?>
<div class="col-md-7 col-sm-7 col-md-push-2 col-sm-push-2" id="contentcol">
<article role="main">
<?php the_content();?>
</article>
</div>
<div id="sidebar_left" class="col-md-2 col-sm-2 col-md-pull-7 col-sm-pull-7" role="navigation">
<?=get_sidebar('left');?>
</div>
<div id="sidebar_right" class="col-md-3 col-sm-3 <?php if (get_post_meta($post->ID, 'page_subheader', TRUE) == '') { ?>notoppad<?php } ?>" role="complementary">
<?=get_sidebar('right');?>
</div>
</div>
<?php get_footer();?>