-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpageleftnav.php
More file actions
55 lines (47 loc) · 1 KB
/
pageleftnav.php
File metadata and controls
55 lines (47 loc) · 1 KB
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
<?php
/*
Template Name: Left Navigation Page
*/
get_header();
GLOBAL $webnus_options;
$last_time = get_the_time(' F Y');
GLOBAL $webnus_options;
?>
<section id="headline">
<div class="container">
<h3><?php the_title(); ?></h3>
</div>
</section>
<section class="container" >
<!-- Start Page Content -->
<hr class="vertical-space">
<section class="col-md-8 col-md-offset-1 rgt-cntt" id="side-content">
<article>
<?php
if( have_posts() ): while( have_posts() ): the_post();
the_content();
endwhile;
endif;
?>
</article>
</section>
<section class="col-md-3" id="side-nav">
<ul>
<?php
if(has_nav_menu('leftnav-menu')){
$menuParameters = array(
'theme_location'=>'leftnav-menu',
'container' => false,
'echo' => false,
'items_wrap' => '%3$s',
'after' => '',
'depth' => 0,
);
echo wp_nav_menu( $menuParameters );
}
?>
</ul>
</section>
<hr class="vertical-space3">
</section><!-- container -->
<?php get_footer(); ?>