Changeset 30272
- Timestamp:
- 11/07/2014 05:30:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php
r30271 r30272 43 43 44 44 $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_textcolor', array( 45 'label' => esc_html__( 'Header & Sidebar Text Color', 'twentyfifteen' ), 46 'section' => 'colors', 45 'label' => esc_html__( 'Header and Sidebar Text Color', 'twentyfifteen' ), 46 'description' => esc_html__( 'Only applied to the sidebar on wider screens. On small screens the sidebar will become the header.', 'twentyfifteen' ), 47 'section' => 'colors', 47 48 ) ) ); 48 49 … … 57 58 58 59 $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'header_background_color', array( 59 'label' => esc_html__( 'Header & Sidebar Background Color', 'twentyfifteen' ), 60 'section' => 'colors', 60 'label' => esc_html__( 'Header and Sidebar Background Color', 'twentyfifteen' ), 61 'description' => esc_html__( 'Only applied to the sidebar on wider screens. On small screens the sidebar will become the header.', 'twentyfifteen' ), 62 'section' => 'colors', 61 63 ) ) ); 64 65 // Add an additional description to the header image section. 66 $wp_customize->get_section( 'header_image' )->description = esc_html__( 'Only applied to the sidebar on wide screens. On small screens it will be applied to the header.', 'twentyfifteen' ); 62 67 } 63 68 add_action( 'customize_register', 'twentyfifteen_customize_register', 11 );
Note: See TracChangeset
for help on using the changeset viewer.