-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsidebar.php
170 lines (155 loc) · 5.06 KB
/
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?php
/**
* The sidebar containing the secondary widget area, displays on homepage, archives and posts.
*
* If no active widgets in this sidebar, it will shows Recent Posts, Archives and Tag Cloud widgets.
*
* @package Horizon_Theme
*/
?>
<div id="secondary" class="col-md-4 col-md-pull-8" role="complementary">
<div class="horizon-summary-sidebar">
<!-- Nav tabs -->
<ul class="nav-tabs nav" role="tablist">
<li role="presentation" class="active"><a href="#recent" aria-controls="recent" role="tab" data-toggle="tab">Recents</a></li>
<li role="presentation"><a href="#popular" aria-controls="popular" role="tab" data-toggle="tab">Populares</a></li>
<li role="presentation"><a href="#comment" aria-controls="comment" role="tab" data-toggle="tab">Comentários</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<!-- Posts recentes -->
<div role="tabpanel" class="tab-pane active" id="recent">
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Posts recentes loop</h5>
</a>
<p><span class="fa fa-clock-o"></span> 11 de Janeiro de 1111</p>
</div>
</div>
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Posts recentes loop</h5>
</a>
<p><span class="fa fa-clock-o"></span> 11 de Janeiro de 1111</p>
</div>
</div>
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Posts recentes loop</h5>
</a>
<p><span class="fa fa-clock-o"></span> 11 de Janeiro de 1111</p>
</div>
</div>
</div>
<!-- Posts populares -->
<div role="tabpanel" class="tab-pane" id="popular">
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Posts populares loop</h5>
</a>
<p><span class="fa fa-clock-o"></span> 11 de Janeiro de 1111</p>
</div>
</div>
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Posts populares loop</h5>
</a>
<p><span class="fa fa-clock-o"></span> 11 de Janeiro de 1111</p>
</div>
</div>
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Posts populares loop</h5>
</a>
<p><span class="fa fa-clock-o"></span> 11 de Janeiro de 1111</p>
</div>
</div>
</div>
<!-- Comentários -->
<div role="tabpanel" class="tab-pane" id="comment">
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object img-circle" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Fulano da Silva</h5>
</a>
<p><span class="fa fa-comment-o"></span> Lorem ipsum dolor sit amet, consectetur adipisicing elit. E ipsum dolor sit amet, consectetur. </p>
</div>
</div>
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object img-circle" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Fulano da Silva</h5>
</a>
<p><span class="fa fa-comment-o"></span> Lorem ipsum dolor sit amet, consectetur adipisicing elit. E ipsum dolor sit amet, consectetur. </p>
</div>
</div>
<div class="media list-featured">
<div class="media-left">
<a href="#">
<img class="media-object img-circle" src="http://placehold.it/70x70">
</a>
</div>
<div class="media-body">
<a href="#">
<h5 class="media-heading">Fulano da Silva</h5>
</a>
<p><span class="fa fa-comment-o"></span> Lorem ipsum dolor sit amet, consectetur adipisicing elit. E ipsum dolor sit amet, consectetur. </p>
</div>
</div>
</div>
</div>
</div>
<?php
if ( ! dynamic_sidebar( 'main-sidebar' ) ) {
the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ) );
the_widget( 'WP_Widget_Archives', array( 'count' => 0, 'dropdown' => 1 ) );
the_widget( 'WP_Widget_Tag_Cloud' );
}
?>
</div><!-- #secondary -->