- Timestamp:
- 10/11/2013 03:16:59 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r25743 r25762 150 150 ) ); 151 151 register_sidebar( array( 152 'name' => __( ' Front PageSidebar', 'twentyfourteen' ),152 'name' => __( 'Content Sidebar', 'twentyfourteen' ), 153 153 'id' => 'sidebar-2', 154 'description' => __( 'Additional sidebar that appears on the right , on the home page.', 'twentyfourteen' ),154 'description' => __( 'Additional sidebar that appears on the right.', 'twentyfourteen' ), 155 155 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 156 156 'after_widget' => '</aside>', … … 159 159 ) ); 160 160 register_sidebar( array( 161 'name' => __( ' Content Sidebar', 'twentyfourteen' ),161 'name' => __( 'Footer Widget Area', 'twentyfourteen' ), 162 162 'id' => 'sidebar-3', 163 'description' => __( 'Additional sidebar that appears on the right, on single posts and pages.', 'twentyfourteen' ),164 'before_widget' => '<aside id="%1$s" class="widget %2$s">',165 'after_widget' => '</aside>',166 'before_title' => '<h1 class="widget-title">',167 'after_title' => '</h1>',168 ) );169 register_sidebar( array(170 'name' => __( 'Footer Widget Area', 'twentyfourteen' ),171 'id' => 'sidebar-4',172 163 'description' => __( 'Appears in the footer section of the site.', 'twentyfourteen' ), 173 164 'before_widget' => '<aside id="%1$s" class="widget %2$s">', … … 471 462 $classes[] = 'list-view'; 472 463 473 if ( ( ! is_ front_page() && ! is_active_sidebar( 'sidebar-3' ) )464 if ( ( ! is_active_sidebar( 'sidebar-2' ) ) 474 465 || is_page_template( 'full-width-page.php' ) 475 466 || is_page_template( 'contributor-page.php' ) … … 477 468 $classes[] = 'full-width'; 478 469 479 if ( is_active_sidebar( 'sidebar- 4' ) )470 if ( is_active_sidebar( 'sidebar-3' ) ) 480 471 $classes[] = 'footer-widgets'; 481 472
Note: See TracChangeset
for help on using the changeset viewer.