forked from inclusive-design/idi-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstitution.php
More file actions
35 lines (28 loc) · 743 Bytes
/
Copy pathinstitution.php
File metadata and controls
35 lines (28 loc) · 743 Bytes
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
<?php
/*
Template Name: Institution
*/
?>
<?php get_header(); ?>
<div class="fl-centered fl-site-wrapper fl-col-mixed idi-institution">
<aside class="fl-col-fixed fl-force-left">
<?php get_sidebar($post->post_name); ?>
</aside>
<div id="content" class="fl-col-flex idi-one-column">
<?php
$page_data = get_page(get_the_ID());
echo '<h1>'. $page_data->post_title .'</h1>';
?>
<div class="idi-inst-content">
<?php
echo apply_filters('the_content', $page_data->post_content);
?>
</div>
</div>
</div>
<?php
// Remove the id="content" attribute that is inherited from the parent theme "wordpress-fss-theme".
// This attribute/value pair is re-defined in this page.
remove_parent_contentID();
get_footer();
?>