-
Notifications
You must be signed in to change notification settings - Fork 1
/
sidebar.php
36 lines (32 loc) · 908 Bytes
/
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
<?php
/**
* Sidebar template
*
* @package Portfolio Press
*/
?>
<?php if ( of_get_option('layout') != 'layout-1col' ) : ?>
<div id="sidebar" role="complementary">
<ul class="xoxo">
<?php if ( ! dynamic_sidebar( 'sidebar' ) ) : ?>
<li id="search" class="widget-container widget_search">
<?php get_search_form(); ?>
</li>
<li id="archives" class="widget-container">
<h3 class="widget-title"><?php _e( 'Archives', 'portfoliopress' ); ?></h3>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</li>
<li id="meta" class="widget-container">
<h3 class="widget-title"><?php _e( 'Meta', 'portfoliopress' ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</li>
<?php endif; // end sidebar widget area ?>
</ul>
</div><!-- #secondary .widget-area -->
<?php endif; ?>