-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-about.php
38 lines (35 loc) · 1.07 KB
/
page-about.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
<?php
/**
* Add the scrollspy classes to the body tag
*/
function informea_about_body_attributes($c) {
$c[] = '" data-spy="scroll" data-target=".scrollspy';
return $c;
}
add_filter('body_class','informea_about_body_attributes');
/**
* Breadcrumbtrail set-up for the about page
*/
function informea_about_breadcrumbtrail($items) {
$items[] = '<li class="active">About InforMEA</li>';
return $items;
}
add_filter('the_breadcrumb', 'informea_about_breadcrumbtrail');
wp_enqueue_script('informea-about');
get_header();
if(have_posts()): while(have_posts()) : the_post();
?>
<div class="container">
<h1><?php the_title(); ?></h1></div>
<div class="row">
<div class="span3 affix-menu affix hidden-phone">
<div class="well scrollspy" data-spy="scroll">
<ul id="menu-about-page-menu" class="nav nav-list"></ul>
</div>
</div>
<div class="user-article span9 pull-right" id="content"> <?php the_content(); ?> </div>
</div>
<?php
endwhile; endif;
get_footer();
?>