- Timestamp:
- 02/07/2014 05:46:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r27120 r27122 410 410 $wp_customize->add_section( 'featured_content', array( 411 411 'title' => __( 'Featured Content', 'twentyfourteen' ), 412 'description' => sprintf( __( 'Use the <a href="%1$s">"featured" tag</a> to feature your posts. You can change this to a tag of your choice; if no posts match the tag, <a href="%2$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ), 412 'description' => sprintf( __( 'Use a <a href="%1$s">tag</a> to feature your posts. You can change this to a tag of your choice; if no posts match the tag, <a href="%2$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), 413 esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), 414 admin_url( 'edit.php?show_sticky=1' ) 415 ), 413 416 'priority' => 130, 414 417 'theme_supports' => 'featured-content', … … 417 420 // Add Featured Content settings. 418 421 $wp_customize->add_setting( 'featured-content[tag-name]', array( 419 'default' => 'featured',422 'default' => _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), 420 423 'type' => 'option', 421 424 'sanitize_js_callback' => array( __CLASS__, 'delete_transient' ), … … 477 480 'hide-tag' => 1, 478 481 'tag-id' => 0, 479 'tag-name' => 'featured',482 'tag-name' => _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), 480 483 ); 481 484
Note: See TracChangeset
for help on using the changeset viewer.