- Timestamp:
- 11/07/2013 08:24:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r26021 r26037 29 29 'label' => __( 'Accent Color', 'twentyfourteen' ), 30 30 'section' => 'colors', 31 'settings' => 'accent_color',32 31 ) ) ); 33 32 … … 35 34 add_filter( 'theme_mod_accent_light', 'twentyfourteen_accent_light' ); 36 35 37 // Add the featured content section .36 // Add the featured content section in case it's not already there. 38 37 $wp_customize->add_section( 'featured_content', array( 39 38 'title' => __( 'Featured Content', 'twentyfourteen' ), 40 'priority' => 1 20,39 'priority' => 130, 41 40 ) ); 42 41 43 42 // Add the featured content layout setting and control. 44 43 $wp_customize->add_setting( 'featured_content_layout', array( 45 'default' => 'grid', 46 'type' => 'theme_mod', 47 'capability' => 'edit_theme_options', 44 'default' => 'grid', 48 45 ) ); 49 46 … … 53 50 'type' => 'select', 54 51 'choices' => array( 55 'grid' => __( 'Grid', 'twentyfourteen' ),52 'grid' => __( 'Grid', 'twentyfourteen' ), 56 53 'slider' => __( 'Slider', 'twentyfourteen' ), 57 54 ),
Note: See TracChangeset
for help on using the changeset viewer.