mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 02:27:50 +01:00
66beb266a1
* Improvements to the dark color scheme; Props matveb * Remove link colors from the dark color scheme and let the default link color cascade * Check for multiple authors before showing author information on single posts * Remove the span before the edit link on the image template * Add a comment icon; Props hugobaeta * Replace the default reply text with an icon to prevent i18n issues with the design; Props matveb * Don't output sidebar on the no sidebar layout * Use the search form styling from the header for all search forms * Style fixes for no search results page * Fixes for fancy blockquote styles * Style fixes for the showcase slider * Margin for galleries * Only showing the top post navigation on paged results * Remove floats from images for the smallest screen sizes git-svn-id: http://svn.automattic.com/wordpress/trunk@18072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
36 lines
956 B
PHP
36 lines
956 B
PHP
<?php
|
|
/**
|
|
* The Sidebar containing the main widget area.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Eleven
|
|
* @since Twenty Eleven 1.0
|
|
*/
|
|
|
|
$options = twentyeleven_get_theme_options();
|
|
$current_layout = $options['theme_layout'];
|
|
|
|
if ( 'content' != $current_layout ) :
|
|
?>
|
|
<div id="secondary" class="widget-area" role="complementary">
|
|
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
|
|
|
|
<aside id="archives" class="widget">
|
|
<h1 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h1>
|
|
<ul>
|
|
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
|
|
</ul>
|
|
</aside>
|
|
|
|
<aside id="meta" class="widget">
|
|
<h1 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h1>
|
|
<ul>
|
|
<?php wp_register(); ?>
|
|
<li><?php wp_loginout(); ?></li>
|
|
<?php wp_meta(); ?>
|
|
</ul>
|
|
</aside>
|
|
|
|
<?php endif; // end sidebar widget area ?>
|
|
</div><!-- #secondary .widget-area -->
|
|
<?php endif; ?>
|