forked from devinsays/portfolio-press
/
sidebar.php
executable file
·36 lines (31 loc) · 917 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
*/
if ( 'layout-1col' != portfoliopress_get_option( 'layout' ) ) : ?>
<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', 'portfolio-press' ); ?></h3>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</li>
<li id="meta" class="widget-container">
<h3 class="widget-title"><?php _e( 'Meta', 'portfolio-press' ); ?></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; ?>