-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
31 lines (26 loc) · 812 Bytes
/
sidebar.php
File metadata and controls
31 lines (26 loc) · 812 Bytes
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
<aside id="sidebar" class="grid_8">
<?php if ( ! dynamic_sidebar( 'Sidebar' )) : ?>
<div id="sidebar-search" class="widget">
<h3>Search</h3>
<?php get_search_form(); ?> <!-- outputs the default Wordpress search form-->
</div>
<div id="sidebar-nav" class="widget menu">
<h3>Navigation</h3>
<?php wp_nav_menu( array('menu' => 'Sidebar Menu' )); ?> <!-- editable within the Wordpress backend -->
</div>
<div id="sidebar-archives" class="widget">
<h3>Archives</h3>
<ul>
<?php wp_get_archives( 'type=monthly' ); ?>
</ul>
</div>
<div id="sidebar-meta" class="widget">
<h3>Meta</h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</div>
<?php endif; ?>
</aside><!--sidebar-->