-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-secondary.php
66 lines (59 loc) · 2.19 KB
/
sidebar-secondary.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
<?php
/**
* Secondary Sidebar Template
*
* Displays widgets for the Secondary dynamic sidebar if any have been added to the sidebar through the
* widgets screen in the admin by the user. Otherwise, nothing is displayed.
*
* @package happystraps
* @subpackage Template
*/
if ( is_active_sidebar( 'secondary' ) ) : ?>
<?php do_atomic( 'before_sidebar_secondary' ); // prototype_before_sidebar_secondary ?>
<div class="well sidebar-nav">
<div class="widget">
<h5>The Loop</h5>
<ul class="nav nav-list">
<li><a href="#">Explanation</a></li>
<li><a href="#">Official Codex</a></li>
<li><a href="#">Great Resources</a></li>
</ul>
</div>
<div class="widget">
<h5>Loop Examples</h5>
<ul class="nav nav-list">
<li><a href="#">Default Loop</a></li>
<li><a href="#">WP_Query</a></li>
<li><a href="#">query_posts</a></li>
<li><a href="#">get_posts</a></li>
<li><a href="#">Misc.</a></li>
</ul>
</div>
<div class="widget">
<h5>Find Happy Loops</h5>
<ul class="nav nav-list">
<li><a href="#">On Twitter</a></li>
<li><a href="#">Subscribe to Everything</a></li>
<li><a href="#">Subscribe to just Loops</a></li>
<li><a href="#">Subscribe to just Blog</a></li>
</ul>
<ul class="nav nav-tabs">
<li><a href="#home" data-toggle="tab">Left</a></li>
<li><a href="#profile" data-toggle="tab">Profile</a></li>
<li><a href="#messages" data-toggle="tab">Messages</a></li>
<li><a href="#settings" data-toggle="tab">Settings</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="left">tab 1</div>
<div class="tab-pane" id="profile">tab 2</div>
<div class="tab-pane" id="messages">tab 3.</div>
<div class="tab-pane" id="settings">tab 4</div>
</div>
</div>
<div class="widget">
<h5>Get the Newsletter</h5>
<p>Don't worry. I don't bug you much. I just email awesome.</p>
</div>
</div>
<?php do_atomic( 'after_sidebar_secondary' ); // happystrap_after_sidebar_secondary ?>
<?php endif; ?>