- Timestamp:
- 08/17/2018 01:50:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r42749 r43571 377 377 public static function customize_register( $wp_customize ) { 378 378 $wp_customize->add_section( 379 'featured_content', array( 379 'featured_content', 380 array( 380 381 'title' => __( 'Featured Content', 'twentyfourteen' ), 381 382 'description' => sprintf( … … 391 392 // Add Featured Content settings. 392 393 $wp_customize->add_setting( 393 'featured-content[tag-name]', array( 394 'featured-content[tag-name]', 395 array( 394 396 'default' => _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), 395 397 'type' => 'option', … … 398 400 ); 399 401 $wp_customize->add_setting( 400 'featured-content[hide-tag]', array( 402 'featured-content[hide-tag]', 403 array( 401 404 'default' => true, 402 405 'type' => 'option', … … 407 410 // Add Featured Content controls. 408 411 $wp_customize->add_control( 409 'featured-content[tag-name]', array( 412 'featured-content[tag-name]', 413 array( 410 414 'label' => __( 'Tag Name', 'twentyfourteen' ), 411 415 'section' => 'featured_content', … … 414 418 ); 415 419 $wp_customize->add_control( 416 'featured-content[hide-tag]', array( 420 'featured-content[hide-tag]', 421 array( 417 422 'label' => __( 'Don’t display tag on front end.', 'twentyfourteen' ), 418 423 'section' => 'featured_content',
Note: See TracChangeset
for help on using the changeset viewer.