Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (35 sloc) 1.1 KB
<?php
/**
* The Sidebar containing the main widget areas.
*
* @package WordPress
* @subpackage BareSkin
*
*/
?>
<div id="primary" class="widget-area" role="complementary">
<?php if ( ! dynamic_sidebar( 'primary' ) ) : ?>
<aside id="search" class="widget widget_search">
<?php get_search_form(); ?>
</aside>
<aside id="archives" class="widget">
<h1 class="widget-title"><?php _e( 'Archives', bareskin_get_textdomain() ); ?></h1>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</aside>
<aside id="meta" class="widget">
<h1 class="widget-title"><?php _e( 'Meta', bareskin_get_textdomain() ); ?></h1>
<ul>
<?php wp_register(); ?>
<aside><?php wp_loginout(); ?></aside>
<?php wp_meta(); ?>
</ul>
</aside>
<?php endif; // end sidebar widget area ?>
</div><!-- #primary .widget-area -->
<?php if ( is_active_sidebar( 'secondary' ) ) : ?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'secondary' ); ?>
</div><!-- #secondary .widget-area -->
<?php endif; ?>