mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
c9d92fc859
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
35 lines
1.0 KiB
PHP
35 lines
1.0 KiB
PHP
<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">
|
|
<h3 class="widget-title"><?php _e('Archives', 'twentyten') ?></h3>
|
|
<ul>
|
|
<?php wp_get_archives('type=monthly') ?>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="meta" class="widget-container">
|
|
<h3 class="widget-title"><?php _e('Meta', 'twentyten') ?></h3>
|
|
<ul>
|
|
<?php wp_register() ?>
|
|
|
|
<li><?php wp_loginout() ?></li>
|
|
<?php wp_meta() ?>
|
|
|
|
</ul>
|
|
</li>
|
|
<?php endif; // end primary widget area ?>
|
|
</ul>
|
|
</div><!-- #primary .widget-area -->
|
|
|
|
<?php if ( is_active_sidebar('secondary-widget-area') ) : // Nothing here by default and design ?>
|
|
<div id="secondary" class="widget-area">
|
|
<ul class="xoxo">
|
|
<?php dynamic_sidebar('secondary-widget-area'); ?>
|
|
</ul>
|
|
</div><!-- #secondary .widget-area -->
|
|
<?php endif; ?>
|