Skip to content

Commit

Permalink
Remove default widgets from sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
sixhours committed Jun 26, 2014
1 parent 4dad296 commit 409d15d
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,5 @@
*/
?>
<div id="secondary" class="widget-area" role="complementary">
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>

<aside id="search" class="widget widget_search">
<?php get_search_form(); ?>
</aside>

<aside id="archives" class="widget">
<h1 class="widget-title"><?php _e( 'Archives', '_s' ); ?></h1>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</aside>

<aside id="meta" class="widget">
<h1 class="widget-title"><?php _e( 'Meta', '_s' ); ?></h1>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</aside>

<?php endif; // end sidebar widget area ?>
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->

0 comments on commit 409d15d

Please sign in to comment.