Skip to content

Commit

Permalink
Twenty Twelve: better naming for the homepage widget areas, props nac…
Browse files Browse the repository at this point in the history
…in. See #21619.

git-svn-id: http://core.svn.wordpress.org/trunk@21558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
lancewillett committed Aug 20, 2012
1 parent 1dabc15 commit ef9743a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/twentytwelve/functions.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function twentytwelve_widgets_init() {
) ); ) );


register_sidebar( array( register_sidebar( array(
'name' => __( 'Homepage Widgets One', 'twentytwelve' ), 'name' => __( 'First Homepage Widget Area', 'twentytwelve' ),
'id' => 'sidebar-2', 'id' => 'sidebar-2',
'description' => __( 'Appears when using the optional homepage template with a page set as Static Front Page', 'twentytwelve' ), 'description' => __( 'Appears when using the optional homepage template with a page set as Static Front Page', 'twentytwelve' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
Expand All @@ -201,7 +201,7 @@ function twentytwelve_widgets_init() {
) ); ) );


register_sidebar( array( register_sidebar( array(
'name' => __( 'Homepage Widgets Two', 'twentytwelve' ), 'name' => __( 'Second Homepage Widget Area', 'twentytwelve' ),
'id' => 'sidebar-3', 'id' => 'sidebar-3',
'description' => __( 'Appears when using the optional homepage template with a page set as Static Front Page', 'twentytwelve' ), 'description' => __( 'Appears when using the optional homepage template with a page set as Static Front Page', 'twentytwelve' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
Expand Down

0 comments on commit ef9743a

Please sign in to comment.