2010-03-29 18:03:15 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The Sidebar containing the primary and secondary widget areas
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty Ten
|
|
|
|
* @since 3.0.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="primary" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : // begin primary widget area ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
<li id="search" class="widget-container widget_search">
|
|
|
|
<?php get_search_form(); ?>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li id="archives" class="widget-container">
|
2010-02-13 20:00:22 -05:00
|
|
|
<h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
|
2010-02-07 11:16:26 -05:00
|
|
|
<ul>
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php wp_get_archives( 'type=monthly' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</li>
|
2010-02-08 13:02:23 -05:00
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<li id="meta" class="widget-container">
|
2010-02-13 20:00:22 -05:00
|
|
|
<h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
|
2010-02-07 11:16:26 -05:00
|
|
|
<ul>
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php wp_register(); ?>
|
|
|
|
<li><?php wp_loginout(); ?></li>
|
|
|
|
<?php wp_meta(); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
2010-02-08 13:02:23 -05:00
|
|
|
</li>
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php endif; // end primary widget area ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</div><!-- #primary .widget-area -->
|
2010-02-08 13:02:23 -05:00
|
|
|
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php if ( is_active_sidebar( 'secondary-widget-area' ) ) : // Nothing here by default and design ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="secondary" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</div><!-- #secondary .widget-area -->
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php endif; ?>
|