Make WordPress Core


Ignore:
Timestamp:
09/27/2012 07:01:16 AM (12 years ago)
Author:
nacin
Message:

Add tag.php and category.php to Twenty Twelve. While by no means required, it pulls some extra logic out of archive.php, instead leveraging the template hierarchy so it is hopefully more understandable to users tweaking their themes. Use alternative control structure syntax in all templates. fixes #21951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/index.php

    r21763 r22048  
    66 * and one of the 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.
    8  * E.g., it puts together the home page when no home.php file exists.
     8 * For example, it puts together the home page when no home.php file exists.
     9 *
    910 * Learn more: http://codex.wordpress.org/Template_Hierarchy
    1011 *
Note: See TracChangeset for help on using the changeset viewer.