Make WordPress Core

Changeset 26101


Ignore:
Timestamp:
11/12/2013 05:12:08 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: add in more contextual help for setting up Featured Content, links to "featured" tag posts and "sticky" posts from inside the Customizer. See #25837.

Location:
trunk/src/wp-content/themes/twentyfourteen/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php

    r26097 r26101  
    4141    $wp_customize->add_section( 'featured_content', array(
    4242        'title'       => __( 'Featured Content', 'twentyfourteen' ),
    43         'description' => __( 'Easily feature all posts with the "featured" tag or a tag of your choice; if no posts match the tag, "sticky" posts will be displayed instead.', 'twentyfourteen' ),
     43        'description' => sprintf( __( 'Easily feature all posts with the <a href="%s">"featured" tag</a> or a tag of your choice; if no posts match the tag, <a href="%s">"sticky" posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ),
    4444        'priority'    => 130,
    4545    ) );
  • trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php

    r26086 r26101  
    333333        $wp_customize->add_section( 'featured_content', array(
    334334            'title'          => __( 'Featured Content', 'twentyfourteen' ),
    335             'description'    => __( 'Easily feature all posts with the "featured" tag or a tag of your choice; if no posts match the tag, "sticky" posts will be displayed instead.', 'twentyfourteen' ),
     335            'description'    => sprintf( __( 'Easily feature all posts with the <a href="%s">"featured" tag</a> or a tag of your choice; if no posts match the tag, <a href="%s">"sticky" posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ),
    336336            'priority'       => 130,
    337337            'theme_supports' => 'featured-content',
Note: See TracChangeset for help on using the changeset viewer.