Skip to content

Commit

Permalink
rename primary widget area
Browse files Browse the repository at this point in the history
  • Loading branch information
Dougal Campbell committed Apr 22, 2011
1 parent c758081 commit d627aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions.php
Expand Up @@ -305,7 +305,7 @@ function initializr_widgets_init() {
// Area 1, located at the top of the sidebar.
register_sidebar( array(
'name' => __( 'Primary Widget Area', 'initializr' ),
'id' => 'primary-asides',
'id' => 'primary-aside',
'description' => __( 'The primary widget area', 'initializr' ),
'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
'after_widget' => '</li>',
Expand Down
2 changes: 1 addition & 1 deletion sidebar.php
Expand Up @@ -17,7 +17,7 @@
* then the sidebar simply doesn't exist, so we'll hard-code in
* some default sidebar stuff just in case.
*/
if ( ! dynamic_sidebar( 'primary-asides' ) ) : ?>
if ( ! dynamic_sidebar( 'primary-aside' ) ) : ?>

<li id="search" class="widget-container widget_search">
<?php get_search_form(); ?>
Expand Down

0 comments on commit d627aa2

Please sign in to comment.