Make WordPress Core

Ticket #25256: twentythirteen.diff

File twentythirteen.diff, 30.7 KB (added by DrewAPicture, 12 years ago)
  • src/wp-content/themes/twentythirteen/404.php

     
    11<?php
    22/**
    3  * The template for displaying 404 pages (Not Found).
     3 * The template for displaying 404 pages (Not Found)
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/archive.php

     
    11<?php
    22/**
    3  * The template for displaying Archive pages.
     3 * The template for displaying Archive pages
    44 *
    55 * Used to display archive-type pages if nothing more specific matches a query.
    66 * For example, puts together date-based pages if no date.php file exists.
     
    1010 * already has tag.php for Tag archives, category.php for Category archives,
    1111 * and author.php for Author archives.
    1212 *
    13  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     13 * @link http://codex.wordpress.org/Template_Hierarchy
    1414 *
    1515 * @package WordPress
    1616 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/author-bio.php

     
    11<?php
    22/**
    3  * The template for displaying Author bios.
     3 * The template for displaying Author bios
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
     
    1010
    1111<div class="author-info">
    1212        <div class="author-avatar">
    13                 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?>
     13                <?php
     14                /**
     15                 * Filter the author bio avatar size.
     16                 *
     17                 * @since Twenty Thirteen 1.0
     18                 *
     19                 * @param int $size The avatar height and width size in pixels.
     20                 */
     21                $author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );
     22                echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
     23                ?>
    1424        </div><!-- .author-avatar -->
    1525        <div class="author-description">
    1626                <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2>
  • src/wp-content/themes/twentythirteen/author.php

     
    11<?php
    22/**
    3  * The template for displaying Author archive pages.
     3 * The template for displaying Author archive pages
    44 *
    5  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     5 * @link http://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Thirteen
     
    1717                <?php if ( have_posts() ) : ?>
    1818
    1919                        <?php
    20                                 /* Queue the first post, that way we know
    21                                  * what author we're dealing with (if that is the case).
     20                                /**
     21                                 * Queue the first post, that way we know what author
     22                                 * we're dealing with (if that is the case).
    2223                                 *
    2324                                 * We reset this later so we can run the loop
    2425                                 * properly with a call to rewind_posts().
     
    3132                        </header><!-- .archive-header -->
    3233
    3334                        <?php
    34                                 /* Since we called the_post() above, we need to
     35                                /**
     36                                 * Since we called the_post() above, we need to
    3537                                 * rewind the loop back to the beginning that way
    3638                                 * we can run the loop properly, in full.
    3739                                 */
  • src/wp-content/themes/twentythirteen/category.php

     
    11<?php
    22/**
    3  * The template for displaying Category pages.
     3 * The template for displaying Category pages
    44 *
    5  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     5 * @link http://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/comments.php

     
    11<?php
    22/**
    3  * The template for displaying Comments.
     3 * The template for displaying Comments
    44 *
    55 * The area of the page that contains comments and the comment form.
    66 *
     
    99 * @since Twenty Thirteen 1.0
    1010 */
    1111
    12 /*
     12/**
    1313 * If the current post is protected by a password and the visitor has not yet
    1414 * entered the password we will return early without loading the comments.
    1515 */
  • src/wp-content/themes/twentythirteen/content-aside.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Aside post format.
     3 * The template for displaying posts in the Aside post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-audio.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Audio post format.
     3 * The template for displaying posts in the Audio post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-chat.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Chat post format.
     3 * The template for displaying posts in the Chat post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-gallery.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Gallery post format.
     3 * The template for displaying posts in the Gallery post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-image.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Image post format.
     3 * The template for displaying posts in the Image post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-link.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Link post format.
     3 * The template for displaying posts in the Link post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-none.php

     
    11<?php
    22/**
    3  * The template for displaying a "No posts found" message.
     3 * The template for displaying a "No posts found" message
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-quote.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Quote post format.
     3 * The template for displaying posts in the Quote post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-status.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Status post format.
     3 * The template for displaying posts in the Status post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content-video.php

     
    11<?php
    22/**
    3  * The template for displaying posts in the Video post format.
     3 * The template for displaying posts in the Video post format
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/content.php

     
    11<?php
    22/**
    3  * The default template for displaying content. Used for both single and index/archive/search.
     3 * The default template for displaying content
    44 *
     5 * Used for both single and index/archive/search.
     6 *
    57 * @package WordPress
    68 * @subpackage Twenty_Thirteen
    79 * @since Twenty Thirteen 1.0
  • src/wp-content/themes/twentythirteen/footer.php

     
    11<?php
    22/**
    3  * The template for displaying the footer.
     3 * The template for displaying the footer
    44 *
    5  * Contains footer content and the closing of the
    6  * #main and #page div elements.
     5 * Contains footer content and the closing of the #main and #page div elements.
    76 *
    87 * @package WordPress
    98 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/functions.php

     
    11<?php
    22/**
    3  * Twenty Thirteen functions and definitions.
     3 * Twenty Thirteen functions and definitions
    44 *
    55 * Sets up the theme and provides some helper functions, which are used in the
    66 * theme as custom template tags. Others are attached to action and filter
     
    1616 * Functions that are not pluggable (not wrapped in function_exists()) are
    1717 * instead attached to a filter or action hook.
    1818 *
    19  * For more information on hooks, actions, and filters,
    20  * see http://codex.wordpress.org/Plugin_API
     19 * For more information on hooks, actions, and filters, @link http://codex.wordpress.org/Plugin_API
    2120 *
    2221 * @package WordPress
    2322 * @subpackage Twenty_Thirteen
     
    2524 */
    2625
    2726/**
    28  * Sets up the content width value based on the theme's design.
     27 * Set up the content width value based on the theme's design.
     28 *
    2929 * @see twentythirteen_content_width() for template-specific adjustments.
    3030 */
    3131if ( ! isset( $content_width ) )
    3232        $content_width = 604;
    3333
    3434/**
    35  * Adds support for a custom header image.
     35 * Add support for a custom header image.
    3636 */
    3737require get_template_directory() . '/inc/custom-header.php';
    3838
     
    4343        require get_template_directory() . '/inc/back-compat.php';
    4444
    4545/**
     46 * Twenty Thirteen setup.
     47 *
    4648 * Sets up theme defaults and registers the various WordPress features that
    4749 * Twenty Thirteen supports.
    4850 *
     
    5860 * @return void
    5961 */
    6062function twentythirteen_setup() {
    61         /*
     63        /**
    6264         * Makes Twenty Thirteen available for translation.
    6365         *
    6466         * Translations can be added to the /languages/ directory.
     
    6870         */
    6971        load_theme_textdomain( 'twentythirteen', get_template_directory() . '/languages' );
    7072
    71         /*
     73        /**
    7274         * This theme styles the visual editor to resemble the theme style,
    7375         * specifically font, colors, icons, and column width.
    7476         */
     
    7779        // Adds RSS feed links to <head> for posts and comments.
    7880        add_theme_support( 'automatic-feed-links' );
    7981
    80         // Switches default core markup for search form, comment form, and comments
    81         // to output valid HTML5.
     82        /**
     83         * Switches default core markup for search form, comment form,
     84         * and comments to output valid HTML5.
     85         */
    8286        add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );
    8387
    84         /*
     88        /**
    8589         * This theme supports all available post formats by default.
    8690         * See http://codex.wordpress.org/Post_Formats
    8791         */
     
    9296        // This theme uses wp_nav_menu() in one location.
    9397        register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
    9498
    95         /*
     99        /**
    96100         * This theme uses a custom image size for featured images, displayed on
    97101         * "standard" posts and pages.
    98102         */
     
    105109add_action( 'after_setup_theme', 'twentythirteen_setup' );
    106110
    107111/**
    108  * Returns the Google font stylesheet URL, if available.
     112 * Return the Google font stylesheet URL, if available.
    109113 *
    110114 * The use of Source Sans Pro and Bitter by default is localized. For languages
    111115 * that use characters not supported by the font, the font can be disabled.
     
    117121function twentythirteen_fonts_url() {
    118122        $fonts_url = '';
    119123
    120         /* Translators: If there are characters in your language that are not
     124        /**
     125         * Translators: If there are characters in your language that are not
    121126         * supported by Source Sans Pro, translate this to 'off'. Do not translate
    122127         * into your own language.
    123128         */
    124129        $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' );
    125130
    126         /* Translators: If there are characters in your language that are not
     131        /**
     132         * Translators: If there are characters in your language that are not
    127133         * supported by Bitter, translate this to 'off'. Do not translate into your
    128134         * own language.
    129135         */
     
    149155}
    150156
    151157/**
    152  * Enqueues scripts and styles for front end.
     158 * Enqueue scripts and styles for the front end.
    153159 *
    154160 * @since Twenty Thirteen 1.0
    155161 *
    156162 * @return void
    157163 */
    158164function twentythirteen_scripts_styles() {
    159         // Adds JavaScript to pages with the comment form to support sites with
    160         // threaded comments (when in use).
     165        /**
     166         * Adds JavaScript to pages with the comment form to support
     167         * sites with threaded comments (when in use).
     168         */
    161169        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
    162170                wp_enqueue_script( 'comment-reply' );
    163171
     
    184192add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' );
    185193
    186194/**
     195 * Filter the page title.
     196 *
    187197 * Creates a nicely formatted and more specific title element text for output
    188198 * in head of document, based on current view.
    189199 *
    190200 * @since Twenty Thirteen 1.0
    191201 *
    192202 * @param string $title Default title text for current view.
    193  * @param string $sep Optional separator.
     203 * @param string $sep   Optional separator.
    194204 * @return string The filtered title.
    195205 */
    196206function twentythirteen_wp_title( $title, $sep ) {
     
    216226add_filter( 'wp_title', 'twentythirteen_wp_title', 10, 2 );
    217227
    218228/**
    219  * Registers two widget areas.
     229 * Register two widget areas.
    220230 *
    221231 * @since Twenty Thirteen 1.0
    222232 *
     
    247257
    248258if ( ! function_exists( 'twentythirteen_paging_nav' ) ) :
    249259/**
    250  * Displays navigation to next/previous set of posts when applicable.
     260 * Display navigation to next/previous set of posts when applicable.
    251261 *
    252262 * @since Twenty Thirteen 1.0
    253263 *
     
    280290
    281291if ( ! function_exists( 'twentythirteen_post_nav' ) ) :
    282292/**
    283  * Displays navigation to next/previous post when applicable.
     293 * Display navigation to next/previous post when applicable.
    284294*
    285295* @since Twenty Thirteen 1.0
    286296*
     
    311321
    312322if ( ! function_exists( 'twentythirteen_entry_meta' ) ) :
    313323/**
    314  * Prints HTML with meta information for current post: categories, tags, permalink, author, and date.
     324 * Print HTML with meta information for current post: categories, tags, permalink, author, and date.
    315325 *
    316326 * Create your own twentythirteen_entry_meta() to override in a child theme.
    317327 *
     
    351361
    352362if ( ! function_exists( 'twentythirteen_entry_date' ) ) :
    353363/**
    354  * Prints HTML with date information for current post.
     364 * Print HTML with date information for current post.
    355365 *
    356366 * Create your own twentythirteen_entry_date() to override in a child theme.
    357367 *
    358368 * @since Twenty Thirteen 1.0
    359369 *
    360  * @param boolean $echo Whether to echo the date. Default true.
     370 * @param boolean $echo (optional) Whether to echo the date. Default true.
    361371 * @return string The HTML-formatted post date.
    362372 */
    363373function twentythirteen_entry_date( $echo = true ) {
     
    382392
    383393if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) :
    384394/**
    385  * Prints the attached image with a link to the next attached image.
     395 * Print the attached image with a link to the next attached image.
    386396 *
    387397 * @since Twenty Thirteen 1.0
    388398 *
     
    390400 */
    391401function twentythirteen_the_attached_image() {
    392402        $post                = get_post();
    393         $attachment_size     = apply_filters( 'twentythirteen_attachment_size', array( 724, 724 ) );
     403        $size                = array( 724, 724 );
     404        /**
     405         * Filter the image attachment size to use.
     406         *
     407         * @since Twenty thirteen 1.0
     408         *
     409         * @param array $size {
     410         *     @type int The attachment height in pixels.
     411         *     @type int The attachment width in pixels.
     412         * }
     413         */
     414        $attachment_size     = apply_filters( 'twentythirteen_attachment_size', $size ) );
    394415        $next_attachment_url = wp_get_attachment_url();
    395416
    396417        /**
     
    437458endif;
    438459
    439460/**
    440  * Returns the URL from the post.
     461 * Return the post URL.
    441462 *
    442463 * @uses get_url_in_content() to get the URL in the post meta (if it exists) or
    443464 * the first link found in the post content.
     
    456477}
    457478
    458479/**
    459  * Extends the default WordPress body classes.
     480 * Extend the default WordPress body classes.
    460481 *
    461482 * Adds body classes to denote:
    462483 * 1. Single or multiple authors.
     
    483504add_filter( 'body_class', 'twentythirteen_body_class' );
    484505
    485506/**
    486  * Adjusts content_width value for video post formats and attachment templates.
     507 * Adjust content_width value for video post formats and attachment templates.
    487508 *
    488509 * @since Twenty Thirteen 1.0
    489510 *
     
    504525 *
    505526 * @since Twenty Thirteen 1.0
    506527 *
    507  * @param WP_Customize_Manager $wp_customize Customizer object.
     528 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
    508529 * @return void
    509530 */
    510531function twentythirteen_customize_register( $wp_customize ) {
     
    515536add_action( 'customize_register', 'twentythirteen_customize_register' );
    516537
    517538/**
    518  * Binds JavaScript handlers to make Customizer preview reload changes
    519  * asynchronously.
     539 * Enqueue Javascript postMessage handlers for Theme Customizer.
    520540 *
     541 * Binds JavaScript handlers to make the Theme Customizer preview
     542 * reload changes asynchronously.
     543 *
    521544 * @since Twenty Thirteen 1.0
     545 *
     546 * @return void
    522547 */
    523548function twentythirteen_customize_preview_js() {
    524549        wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130226', true );
  • src/wp-content/themes/twentythirteen/header.php

     
    11<?php
    22/**
    3  * The Header for our theme.
     3 * The Header template for our theme
    44 *
    55 * Displays all of the <head> section and everything up till <div id="main">
    66 *
  • src/wp-content/themes/twentythirteen/image.php

     
    11<?php
    22/**
    3  * The template for displaying image attachments.
     3 * The template for displaying image attachments
    44 *
    5  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     5 * @link http://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/inc/back-compat.php

     
    11<?php
    22/**
    3  * Twenty Thirteen back compat functionality.
     3 * Twenty Thirteen back compat functionality
    44 *
    55 * Prevents Twenty Thirteen from running on WordPress versions prior to 3.6,
    6  * since this theme is not meant to be backwards compatible and relies on
     6 * since this theme is not meant to be backward compatible and relies on
    77 * many new functions and markup changes introduced in 3.6.
    88 *
    99 * @package WordPress
     
    1212 */
    1313
    1414/**
    15  * Prevent switching to Twenty Thirteen on old versions of WordPress. Switches
    16  * to the default theme.
     15 * Prevent switching to Twenty Thirteen on old versions of WordPress.
    1716 *
     17 * Switches to the default theme.
     18 *
    1819 * @since Twenty Thirteen 1.0
    1920 *
    2021 * @return void
     
    2728add_action( 'after_switch_theme', 'twentythirteen_switch_theme' );
    2829
    2930/**
     31 * Add message for unsuccessful theme switch.
     32 *
    3033 * Prints an update nag after an unsuccessful attempt to switch to
    3134 * Twenty Thirteen on WordPress versions prior to 3.6.
    3235 *
     
    4043}
    4144
    4245/**
    43  * Prevents the Customizer from being loaded on WordPress versions prior to 3.6.
     46 * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6.
    4447 *
    4548 * @since Twenty Thirteen 1.0
    4649 *
     
    5457add_action( 'load-customize.php', 'twentythirteen_customize' );
    5558
    5659/**
    57  * Prevents the Theme Preview from being loaded on WordPress versions prior to 3.4.
     60 * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4.
    5861 *
    5962 * @since Twenty Thirteen 1.0
    6063 *
     
    6568                wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ) );
    6669        }
    6770}
    68 add_action( 'template_redirect', 'twentythirteen_preview' );
    69  No newline at end of file
     71add_action( 'template_redirect', 'twentythirteen_preview' );
  • src/wp-content/themes/twentythirteen/inc/custom-header.php

     
    11<?php
    22/**
    3  * Implements a custom header for Twenty Thirteen.
    4  * See http://codex.wordpress.org/Custom_Headers
     3 * Implement a custom header for Twenty Thirteen
    54 *
     5 * @link http://codex.wordpress.org/Custom_Headers
     6 *
    67 * @package WordPress
    78 * @subpackage Twenty_Thirteen
    89 * @since Twenty Thirteen 1.0
    910 */
    1011
    1112/**
    12  * Sets up the WordPress core custom header arguments and settings.
     13 * Set up the WordPress core custom header arguments and settings.
    1314 *
    1415 * @uses add_theme_support() to register support for 3.4 and up.
    1516 * @uses twentythirteen_header_style() to style front-end.
     
    1819 * @uses register_default_headers() to set up the bundled header images.
    1920 *
    2021 * @since Twenty Thirteen 1.0
     22 *
     23 * @return void
    2124 */
    2225function twentythirteen_custom_header_setup() {
    2326        $args = array(
     
    3740
    3841        add_theme_support( 'custom-header', $args );
    3942
    40         /*
     43        /**
    4144         * Default custom headers packaged with the theme.
    4245         * %s is a placeholder for the theme template directory URI.
    4346         */
     
    6265add_action( 'after_setup_theme', 'twentythirteen_custom_header_setup', 11 );
    6366
    6467/**
    65  * Loads our special font CSS files.
     68 * Load our special font CSS files.
    6669 *
    6770 * @since Twenty Thirteen 1.0
     71 *
     72 * @return void
    6873 */
    6974function twentythirteen_custom_header_fonts() {
    7075        // Add Open Sans and Bitter fonts.
     
    7681add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_custom_header_fonts' );
    7782
    7883/**
    79  * Styles the header text displayed on the blog.
     84 * Style the header text displayed on the blog.
    8085 *
    8186 * get_header_textcolor() options: Hide text (returns 'blank'), or any hex value.
    8287 *
    8388 * @since Twenty Thirteen 1.0
     89 *
     90 * @return void
    8491 */
    8592function twentythirteen_header_style() {
    8693        $header_image = get_header_image();
     
    134141}
    135142
    136143/**
    137  * Styles the header image displayed on the Appearance > Header admin panel.
     144 * Style the header image displayed on the Appearance > Header admin panel.
    138145 *
    139146 * @since Twenty Thirteen 1.0
     147 *
     148 * @return void
    140149 */
    141150function twentythirteen_admin_header_style() {
    142151        $header_image = get_header_image();
     
    198207}
    199208
    200209/**
    201  * Outputs markup to be displayed on the Appearance > Header admin panel.
     210 * Output markup to be displayed on the Appearance > Header admin panel.
     211 *
    202212 * This callback overrides the default markup displayed there.
    203213 *
    204214 * @since Twenty Thirteen 1.0
     215 *
     216 * @return void
    205217 */
    206218function twentythirteen_admin_header_image() {
    207219        ?>
  • src/wp-content/themes/twentythirteen/index.php

     
    11<?php
    22/**
    3  * The main template file.
     3 * The main template file
    44 *
    55 * This is the most generic template file in a WordPress theme and one of the
    66 * two required files for a theme (the other being style.css).
    77 * It is used to display a page when nothing more specific matches a query.
    88 * For example, it puts together the home page when no home.php file exists.
    99 *
    10  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     10 * @link http://codex.wordpress.org/Template_Hierarchy
    1111 *
    1212 * @package WordPress
    1313 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/page.php

     
    11<?php
    22/**
    3  * The template for displaying all pages.
     3 * The template for displaying all pages
    44 *
    55 * This is the template that displays all pages by default.
    66 * Please note that this is the WordPress construct of pages and that other
  • src/wp-content/themes/twentythirteen/search.php

     
    11<?php
    22/**
    3  * The template for displaying Search Results pages.
     3 * The template for displaying Search Results pages
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/sidebar-main.php

     
    11<?php
    22/**
    3  * The sidebar containing the footer widget area.
     3 * The sidebar containing the footer widget area
    44 *
    5  * If no active widgets in this sidebar, it will be hidden completely.
     5 * If no active widgets in this sidebar, hide it completely.
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/sidebar.php

     
    11<?php
    22/**
    3  * The sidebar containing the secondary widget area, displays on posts and pages.
     3 * The sidebar containing the secondary widget area
    44 *
    5  * If no active widgets in this sidebar, it will be hidden completely.
     5 * Displays on posts and pages.
    66 *
     7 * If no active widgets are in this sidebar, hide it completely.
     8 *
    79 * @package WordPress
    810 * @subpackage Twenty_Thirteen
    911 * @since Twenty Thirteen 1.0
  • src/wp-content/themes/twentythirteen/single.php

     
    11<?php
    22/**
    3  * The Template for displaying all single posts.
     3 * The template for displaying all single posts
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/tag.php

     
    11<?php
    22/**
    3  * The template for displaying Tag pages.
     3 * The template for displaying Tag pages
    44 *
    55 * Used to display archive-type pages for posts in a tag.
    66 *
    7  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     7 * @link http://codex.wordpress.org/Template_Hierarchy
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Thirteen
  • src/wp-content/themes/twentythirteen/taxonomy-post_format.php

     
    11<?php
    22/**
    3  * The template for displaying Post Format pages.
     3 * The template for displaying Post Format pages
    44 *
    55 * Used to display archive-type pages for posts with a post format.
    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  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     9 * @link http://codex.wordpress.org/Template_Hierarchy
    1010 *
    1111 * @package WordPress
    1212 * @subpackage Twenty_Thirteen