Ticket #27115: 27115-twenty-fourteen.patch
File 27115-twenty-fourteen.patch, 8.3 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/archive.php
10 10 * already has tag.php for Tag archives, category.php for Category archives, 11 11 * and author.php for Author archives. 12 12 * 13 * @link http ://codex.wordpress.org/Template_Hierarchy13 * @link https://codex.wordpress.org/Template_Hierarchy 14 14 * 15 15 * @package WordPress 16 16 * @subpackage Twenty_Fourteen -
src/wp-content/themes/twentyfourteen/author.php
2 2 /** 3 3 * The template for displaying Author archive pages 4 4 * 5 * @link http ://codex.wordpress.org/Template_Hierarchy5 * @link https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Fourteen -
src/wp-content/themes/twentyfourteen/category.php
2 2 /** 3 3 * The template for displaying Category pages 4 4 * 5 * @link http ://codex.wordpress.org/Template_Hierarchy5 * @link https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Fourteen -
src/wp-content/themes/twentyfourteen/functions.php
11 11 * functions.php file. The child theme's functions.php file is included before 12 12 * the parent theme's file, so the child theme functions would be used. 13 13 * 14 * @link http ://codex.wordpress.org/Theme_Development15 * @link http ://codex.wordpress.org/Child_Themes14 * @link https://codex.wordpress.org/Theme_Development 15 * @link https://codex.wordpress.org/Child_Themes 16 16 * 17 17 * Functions that are not pluggable (not wrapped in function_exists()) are 18 18 * instead attached to a filter or action hook. 19 19 * 20 20 * For more information on hooks, actions, and filters, 21 * @link http ://codex.wordpress.org/Plugin_API21 * @link https://codex.wordpress.org/Plugin_API 22 22 * 23 23 * @package WordPress 24 24 * @subpackage Twenty_Fourteen … … 94 94 95 95 /* 96 96 * Enable support for Post Formats. 97 * See http ://codex.wordpress.org/Post_Formats97 * See https://codex.wordpress.org/Post_Formats 98 98 */ 99 99 add_theme_support( 'post-formats', array( 100 100 'aside', 'image', 'video', 'audio', 'quote', 'link', 'gallery', -
src/wp-content/themes/twentyfourteen/inc/customizer.php
100 100 'content' => 101 101 '<ul>' . 102 102 '<li>' . sprintf( __( 'The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by a <a href="%1$s">tag</a>; you can change the tag and layout in <a href="%2$s">Appearance → Customize</a>. If no posts match the tag, <a href="%3$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), admin_url( 'customize.php' ), admin_url( 'edit.php?show_sticky=1' ) ) . '</li>' . 103 '<li>' . sprintf( __( 'Enhance your site design by using <a href="%s">Featured Images</a> for posts you’d like to stand out (also known as post thumbnails). This allows you to associate an image with your post without inserting it. Twenty Fourteen uses featured images for posts and pages—above the title—and in the Featured Content area on the home page.', 'twentyfourteen' ), 'http ://codex.wordpress.org/Post_Thumbnails#Setting_a_Post_Thumbnail' ) . '</li>' .104 '<li>' . sprintf( __( 'For an in-depth tutorial, and more tips and tricks, visit the <a href="%s">Twenty Fourteen documentation</a>.', 'twentyfourteen' ), 'http ://codex.wordpress.org/Twenty_Fourteen' ) . '</li>' .103 '<li>' . sprintf( __( 'Enhance your site design by using <a href="%s">Featured Images</a> for posts you’d like to stand out (also known as post thumbnails). This allows you to associate an image with your post without inserting it. Twenty Fourteen uses featured images for posts and pages—above the title—and in the Featured Content area on the home page.', 'twentyfourteen' ), 'https://codex.wordpress.org/Post_Thumbnails#Setting_a_Post_Thumbnail' ) . '</li>' . 104 '<li>' . sprintf( __( 'For an in-depth tutorial, and more tips and tricks, visit the <a href="%s">Twenty Fourteen documentation</a>.', 'twentyfourteen' ), 'https://codex.wordpress.org/Twenty_Fourteen' ) . '</li>' . 105 105 '</ul>', 106 106 ) ); 107 107 } -
src/wp-content/themes/twentyfourteen/inc/widgets.php
4 4 * 5 5 * Displays posts from Aside, Quote, Video, Audio, Image, Gallery, and Link formats. 6 6 * 7 * @link http ://codex.wordpress.org/Widgets_API#Developing_Widgets7 * @link https://codex.wordpress.org/Widgets_API#Developing_Widgets 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Fourteen -
src/wp-content/themes/twentyfourteen/index.php
7 7 * It is used to display a page when nothing more specific matches a query, 8 8 * e.g., it puts together the home page when no home.php file exists. 9 9 * 10 * @link http ://codex.wordpress.org/Template_Hierarchy10 * @link https://codex.wordpress.org/Template_Hierarchy 11 11 * 12 12 * @package WordPress 13 13 * @subpackage Twenty_Fourteen -
src/wp-content/themes/twentyfourteen/rtl.css
4 4 It's easy, just a matter of overwriting all the horizontal positioning attributes 5 5 of your CSS stylesheet in a separate stylesheet file named rtl.css. 6 6 7 See http ://codex.wordpress.org/Right_to_Left_Language_Support7 See https://codex.wordpress.org/Right_to_Left_Language_Support 8 8 */ 9 9 10 10 /** … … 851 851 margin-left: -18%; 852 852 margin-right: auto; 853 853 } 854 } 855 No newline at end of file 854 } -
src/wp-content/themes/twentyfourteen/tag.php
4 4 * 5 5 * Used to display archive-type pages for posts in a tag. 6 6 * 7 * @link http ://codex.wordpress.org/Template_Hierarchy7 * @link https://codex.wordpress.org/Template_Hierarchy 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Fourteen -
src/wp-content/themes/twentyfourteen/taxonomy-post_format.php
6 6 * If you'd like to further customize these Post Format views, you may create a 7 7 * new template file for each specific one. 8 8 * 9 * @todo http ://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings9 * @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings 10 10 * and remove plurals below. 11 11 * 12 * @link http ://codex.wordpress.org/Template_Hierarchy12 * @link https://codex.wordpress.org/Template_Hierarchy 13 13 * 14 14 * @package WordPress 15 15 * @subpackage Twenty_Fourteen