- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r42343 r43571 23 23 if ( isset( $wp_customize->selective_refresh ) ) { 24 24 $wp_customize->selective_refresh->add_partial( 25 'blogname', array( 25 'blogname', 26 array( 26 27 'selector' => '.site-title a', 27 28 'container_inclusive' => false, … … 30 31 ); 31 32 $wp_customize->selective_refresh->add_partial( 32 'blogdescription', array( 33 'blogdescription', 34 array( 33 35 'selector' => '.site-description', 34 36 'container_inclusive' => false, … … 55 57 // Add the featured content section in case it's not already there. 56 58 $wp_customize->add_section( 57 'featured_content', array( 59 'featured_content', 60 array( 58 61 'title' => __( 'Featured Content', 'twentyfourteen' ), 59 62 'description' => sprintf( … … 69 72 // Add the featured content layout setting and control. 70 73 $wp_customize->add_setting( 71 'featured_content_layout', array( 74 'featured_content_layout', 75 array( 72 76 'default' => 'grid', 73 77 'sanitize_callback' => 'twentyfourteen_sanitize_layout', … … 76 80 77 81 $wp_customize->add_control( 78 'featured_content_layout', array( 82 'featured_content_layout', 83 array( 79 84 'label' => __( 'Layout', 'twentyfourteen' ), 80 85 'section' => 'featured_content',
Note: See TracChangeset
for help on using the changeset viewer.