Ticket #30149: 30149.3.diff
File 30149.3.diff, 6.6 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfifteen/style.css
1 1 /* 2 2 Theme Name: Twenty Fifteen 3 Theme URI: http ://wordpress.org/themes/twentyfifteen3 Theme URI: https://wordpress.org/themes/twentyfifteen 4 4 Author: the WordPress team 5 Author URI: http ://wordpress.org/5 Author URI: https://wordpress.org/ 6 6 Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer. 7 7 Version: 0.1 8 8 License: GNU General Public License v2 or later -
src/wp-content/themes/twentyfifteen/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 /** -
src/wp-content/themes/twentyfifteen/content-none.php
2 2 /** 3 3 * The template part for displaying a message that posts cannot be found. 4 4 * 5 * Learn more: http ://codex.wordpress.org/Template_Hierarchy5 * Learn more: https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Fifteen -
src/wp-content/themes/twentyfifteen/index.php
6 6 * and one of the two required files for a theme (the other being style.css). 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 * Learn more: http ://codex.wordpress.org/Template_Hierarchy9 * Learn more: https://codex.wordpress.org/Template_Hierarchy 10 10 * 11 * @link http ://codex.wordpress.org/Template_Hierarchy11 * @link https://codex.wordpress.org/Template_Hierarchy 12 12 * 13 13 * @package WordPress 14 14 * @subpackage Twenty_Fifteen -
src/wp-content/themes/twentyfifteen/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_Fifteen … … 75 75 /* 76 76 * Enable support for Post Thumbnails on posts and pages. 77 77 * 78 * @link http ://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails78 * @link https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails 79 79 */ 80 80 add_theme_support( 'post-thumbnails' ); 81 81 set_post_thumbnail_size( 825, 510, true ); … … 96 96 97 97 /* 98 98 * Enable support for Post Formats. 99 * See http ://codex.wordpress.org/Post_Formats99 * See https://codex.wordpress.org/Post_Formats 100 100 */ 101 101 add_theme_support( 'post-formats', array( 102 102 'aside', 'image', 'video', 'quote', 'link', 'gallery', 'status', 'audio', 'chat' … … 125 125 * 126 126 * @since Twenty Fifteen 1.0 127 127 * 128 * @link http ://codex.wordpress.org/Function_Reference/register_sidebar128 * @link https://codex.wordpress.org/Function_Reference/register_sidebar 129 129 */ 130 130 function twentyfifteen_widgets_init() { 131 131 register_sidebar( array( -
src/wp-content/themes/twentyfifteen/content-search.php
2 2 /** 3 3 * The template part for displaying results in search pages. 4 4 * 5 * Learn more: http ://codex.wordpress.org/Template_Hierarchy5 * Learn more: https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Fifteen -
src/wp-content/themes/twentyfifteen/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_Fifteen -
src/wp-content/themes/twentyfifteen/footer.php
22 22 */ 23 23 do_action( 'twentyfifteen_credits' ); 24 24 ?> 25 <a href="<?php echo esc_url( __( 'http ://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>25 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a> 26 26 </div><!-- .site-info --> 27 27 </footer><!-- .site-footer --> 28 28 </div><!-- .site -->