Make WordPress Core

Ticket #25837: 25837.4.diff

File 25837.4.diff, 4.1 KB (added by siobhan, 11 years ago)

Updates customizer text

  • inc/customizer.php

     
    4040        // Add the featured content section in case it's not already there.
    4141        $wp_customize->add_section( 'featured_content', array(
    4242                'title'       => __( 'Featured Content', 'twentyfourteen' ),
    43                 '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' ) ),
     43                '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' ) ),
    4444                'priority'    => 130,
    4545        ) );
    4646
  • inc/featured-content.php

     
    352352        public static function customize_register( $wp_customize ) {
    353353                $wp_customize->add_section( 'featured_content', array(
    354354                        'title'          => __( 'Featured Content', 'twentyfourteen' ),
    355                         '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' ) ),
     355                        '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' ) ),
    356356                        'priority'       => 130,
    357357                        'theme_supports' => 'featured-content',
    358358                ) );
     
    371371
    372372                // Add Featured Content controls.
    373373                $wp_customize->add_control( 'featured-content[tag-name]', array(
    374                         'label'    => __( 'Tag name', 'twentyfourteen' ),
     374                        'label'    => __( 'Tag Name', 'twentyfourteen' ),
    375375                        'section'  => 'featured_content',
    376376                        'priority' => 20,
    377377                ) );
    378378                $wp_customize->add_control( 'featured-content[hide-tag]', array(
    379                         'label'    => __( 'Hide tag from displaying in post meta and tag clouds.', 'twentyfourteen' ),
     379                        'label'    => __( 'Don&rsquo;t display tag on front end.', 'twentyfourteen' ),
    380380                        'section'  => 'featured_content',
    381381                        'type'     => 'checkbox',
    382382                        'priority' => 30,
  • style.css

     
    33Theme URI: http://wordpress.org/themes/
    44Author: the WordPress team
    55Author URI: http://wordpress.org/
    6 Description: The default theme for 2014 is a magazine theme with a sleek, modern, and beautifully crafted responsive design. The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by the "featured" post tag; you can change the tag and layout in Appearance > Customize. Three widget-ready areas to customize your sidebars and footer area, including a special Ephemera widget to highlight your latest videos, music, links, and more. Tailor content pages to your needs with two extra page templates: full-width (no sidebar) and a Contributor page to show off multiple authors.
     6Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full width page template and a contributor page to show of your authors. Creating a magazine website with WordPress has never been easier. 
    77Version: 0.1
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html