mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
Twenty Fourteen: update Customizer inline help text. Props siobhan, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
30f06be6f9
commit
c4cf7603ac
@ -40,7 +40,7 @@ function twentyfourteen_customize_register( $wp_customize ) {
|
|||||||
// Add the featured content section in case it's not already there.
|
// Add the featured content section in case it's not already there.
|
||||||
$wp_customize->add_section( 'featured_content', array(
|
$wp_customize->add_section( 'featured_content', array(
|
||||||
'title' => __( 'Featured Content', 'twentyfourteen' ),
|
'title' => __( 'Featured Content', 'twentyfourteen' ),
|
||||||
'description' => sprintf( __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or 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' ) ),
|
'description' => sprintf( __( 'Use a <a href="%1$s"> tag</a> to feature your posts. 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' ) ),
|
||||||
'priority' => 130,
|
'priority' => 130,
|
||||||
) );
|
) );
|
||||||
|
|
||||||
|
@ -352,7 +352,7 @@ class Featured_Content {
|
|||||||
public static function customize_register( $wp_customize ) {
|
public static function customize_register( $wp_customize ) {
|
||||||
$wp_customize->add_section( 'featured_content', array(
|
$wp_customize->add_section( 'featured_content', array(
|
||||||
'title' => __( 'Featured Content', 'twentyfourteen' ),
|
'title' => __( 'Featured Content', 'twentyfourteen' ),
|
||||||
'description' => sprintf( __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or 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' ) ),
|
'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' ) ),
|
||||||
'priority' => 130,
|
'priority' => 130,
|
||||||
'theme_supports' => 'featured-content',
|
'theme_supports' => 'featured-content',
|
||||||
) );
|
) );
|
||||||
@ -371,12 +371,12 @@ class Featured_Content {
|
|||||||
|
|
||||||
// Add Featured Content controls.
|
// Add Featured Content controls.
|
||||||
$wp_customize->add_control( 'featured-content[tag-name]', array(
|
$wp_customize->add_control( 'featured-content[tag-name]', array(
|
||||||
'label' => __( 'Tag name', 'twentyfourteen' ),
|
'label' => __( 'Tag Name', 'twentyfourteen' ),
|
||||||
'section' => 'featured_content',
|
'section' => 'featured_content',
|
||||||
'priority' => 20,
|
'priority' => 20,
|
||||||
) );
|
) );
|
||||||
$wp_customize->add_control( 'featured-content[hide-tag]', array(
|
$wp_customize->add_control( 'featured-content[hide-tag]', array(
|
||||||
'label' => __( 'Hide tag from displaying in post meta and tag clouds.', 'twentyfourteen' ),
|
'label' => __( 'Don’t display tag on front end.', 'twentyfourteen' ),
|
||||||
'section' => 'featured_content',
|
'section' => 'featured_content',
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
'priority' => 30,
|
'priority' => 30,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user