-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-right-sidebar.php
117 lines (42 loc) · 1.82 KB
/
template-right-sidebar.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php
/**
* Template Name: Right Sidebar
*
* @package WP Pro Real Estate 4
* @subpackage Template
*/
$layout = $ct_options['ct_layout'];
get_header(); ?>
<header id="page-header" class="sixteen columns alpha omega">
<div id="page-header-inner">
<div class="ten columns alpha omega">
<h3 class=""><?php the_title(); ?></h3>
</div>
<div class="clear"></div>
</div>
</header>
<section id="content" class="eleven columns omega">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('pad20 marB20'); ?>>
<div class="post-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
<?php //wp_link_pages(); ?>
<?php endif; ?>
</section>
<div id="right-sidebar" class="five columns alpha">
<div class="widget clearfix">
<?php
if ( is_page(637) ) {
ah_testimonials('military');
} else {
ah_testimonials('all');
}
?>
</div>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Left Sidebar Pages') ) :else: endif; ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>