2010-02-07 17:16:26 +01:00
|
|
|
<div id="primary" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
|
|
|
<?php if ( !dynamic_sidebar('primary-widget-area') ) : // begin primary widget area ?>
|
|
|
|
<li id="search" class="widget-container widget_search">
|
|
|
|
<?php get_search_form(); ?>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li id="archives" class="widget-container">
|
2010-02-14 02:00:22 +01:00
|
|
|
<h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
|
2010-02-07 17:16:26 +01:00
|
|
|
<ul>
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php wp_get_archives( 'type=monthly' ); ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
<li id="meta" class="widget-container">
|
2010-02-14 02:00:22 +01:00
|
|
|
<h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
|
2010-02-07 17:16:26 +01:00
|
|
|
<ul>
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php wp_register(); ?>
|
|
|
|
<li><?php wp_loginout(); ?></li>
|
|
|
|
<?php wp_meta(); ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</ul>
|
2010-02-08 19:02:23 +01:00
|
|
|
</li>
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php endif; // end primary widget area ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</ul>
|
|
|
|
</div><!-- #primary .widget-area -->
|
2010-02-08 19:02:23 +01:00
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
<?php if ( is_active_sidebar('secondary-widget-area') ) : // Nothing here by default and design ?>
|
|
|
|
<div id="secondary" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</ul>
|
|
|
|
</div><!-- #secondary .widget-area -->
|
|
|
|
<?php endif; ?>
|