WordPress.org

Make WordPress Core

Ticket #27115: 27115-twenty-fourteen.patch

File 27115-twenty-fourteen.patch, 8.3 KB (added by netweb, 7 years ago)
  • src/wp-content/themes/twentyfourteen/archive.php

     
    1010 * already has tag.php for Tag archives, category.php for Category archives,
    1111 * and author.php for Author archives.
    1212 *
    13  * @link http://codex.wordpress.org/Template_Hierarchy
     13 * @link https://codex.wordpress.org/Template_Hierarchy
    1414 *
    1515 * @package WordPress
    1616 * @subpackage Twenty_Fourteen
  • src/wp-content/themes/twentyfourteen/author.php

     
    22/**
    33 * The template for displaying Author archive pages
    44 *
    5  * @link http://codex.wordpress.org/Template_Hierarchy
     5 * @link https://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Fourteen
  • src/wp-content/themes/twentyfourteen/category.php

     
    22/**
    33 * The template for displaying Category pages
    44 *
    5  * @link http://codex.wordpress.org/Template_Hierarchy
     5 * @link https://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Fourteen
  • src/wp-content/themes/twentyfourteen/functions.php

     
    1111 * functions.php file. The child theme's functions.php file is included before
    1212 * the parent theme's file, so the child theme functions would be used.
    1313 *
    14  * @link http://codex.wordpress.org/Theme_Development
    15  * @link http://codex.wordpress.org/Child_Themes
     14 * @link https://codex.wordpress.org/Theme_Development
     15 * @link https://codex.wordpress.org/Child_Themes
    1616 *
    1717 * Functions that are not pluggable (not wrapped in function_exists()) are
    1818 * instead attached to a filter or action hook.
    1919 *
    2020 * For more information on hooks, actions, and filters,
    21  * @link http://codex.wordpress.org/Plugin_API
     21 * @link https://codex.wordpress.org/Plugin_API
    2222 *
    2323 * @package WordPress
    2424 * @subpackage Twenty_Fourteen
     
    9494
    9595        /*
    9696         * Enable support for Post Formats.
    97          * See http://codex.wordpress.org/Post_Formats
     97         * See https://codex.wordpress.org/Post_Formats
    9898         */
    9999        add_theme_support( 'post-formats', array(
    100100                'aside', 'image', 'video', 'audio', 'quote', 'link', 'gallery',
  • src/wp-content/themes/twentyfourteen/inc/customizer.php

     
    100100                'content' =>
    101101                        '<ul>' .
    102102                                '<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 &rarr; 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&rsquo;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&mdash;above the title&mdash;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&rsquo;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&mdash;above the title&mdash;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>' .
    105105                        '</ul>',
    106106        ) );
    107107}
  • src/wp-content/themes/twentyfourteen/inc/widgets.php

     
    44 *
    55 * Displays posts from Aside, Quote, Video, Audio, Image, Gallery, and Link formats.
    66 *
    7  * @link http://codex.wordpress.org/Widgets_API#Developing_Widgets
     7 * @link https://codex.wordpress.org/Widgets_API#Developing_Widgets
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Fourteen
  • src/wp-content/themes/twentyfourteen/index.php

     
    77 * It is used to display a page when nothing more specific matches a query,
    88 * e.g., it puts together the home page when no home.php file exists.
    99 *
    10  * @link http://codex.wordpress.org/Template_Hierarchy
     10 * @link https://codex.wordpress.org/Template_Hierarchy
    1111 *
    1212 * @package WordPress
    1313 * @subpackage Twenty_Fourteen
  • src/wp-content/themes/twentyfourteen/rtl.css

     
    44It's easy, just a matter of overwriting all the horizontal positioning attributes
    55of your CSS stylesheet in a separate stylesheet file named rtl.css.
    66
    7 See http://codex.wordpress.org/Right_to_Left_Language_Support
     7See https://codex.wordpress.org/Right_to_Left_Language_Support
    88*/
    99
    1010/**
     
    851851                margin-left: -18%;
    852852                margin-right: auto;
    853853        }
    854 }
    855  No newline at end of file
     854}
  • src/wp-content/themes/twentyfourteen/tag.php

     
    44 *
    55 * Used to display archive-type pages for posts in a tag.
    66 *
    7  * @link http://codex.wordpress.org/Template_Hierarchy
     7 * @link https://codex.wordpress.org/Template_Hierarchy
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Fourteen
  • src/wp-content/themes/twentyfourteen/taxonomy-post_format.php

     
    66 * If you'd like to further customize these Post Format views, you may create a
    77 * new template file for each specific one.
    88 *
    9  * @todo http://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings
     9 * @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings
    1010 * and remove plurals below.
    1111 *
    12  * @link http://codex.wordpress.org/Template_Hierarchy
     12 * @link https://codex.wordpress.org/Template_Hierarchy
    1313 *
    1414 * @package WordPress
    1515 * @subpackage Twenty_Fourteen