Ticket #25837: 25837.4.diff
File 25837.4.diff, 4.1 KB (added by , 11 years ago) |
---|
-
inc/customizer.php
40 40 // Add the featured content section in case it's not already there. 41 41 $wp_customize->add_section( 'featured_content', array( 42 42 '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' ) ), 44 44 'priority' => 130, 45 45 ) ); 46 46 -
inc/featured-content.php
352 352 public static function customize_register( $wp_customize ) { 353 353 $wp_customize->add_section( 'featured_content', array( 354 354 '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' ) ), 356 356 'priority' => 130, 357 357 'theme_supports' => 'featured-content', 358 358 ) ); … … 371 371 372 372 // Add Featured Content controls. 373 373 $wp_customize->add_control( 'featured-content[tag-name]', array( 374 'label' => __( 'Tag name', 'twentyfourteen' ),374 'label' => __( 'Tag Name', 'twentyfourteen' ), 375 375 'section' => 'featured_content', 376 376 'priority' => 20, 377 377 ) ); 378 378 $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’t display tag on front end.', 'twentyfourteen' ), 380 380 'section' => 'featured_content', 381 381 'type' => 'checkbox', 382 382 'priority' => 30, -
style.css
3 3 Theme URI: http://wordpress.org/themes/ 4 4 Author: the WordPress team 5 5 Author 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.6 Description: 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. 7 7 Version: 0.1 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html