Make WordPress Core


Ignore:
Timestamp:
10/09/2010 09:17:42 AM (14 years ago)
Author:
nacin
Message:

Use get_template_part() for single.php, attachment.php, page.php, and our page template in Twenty Ten. Introduces loop-page/single/attachment.php. props koopersmith, fixes #15078.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/loop-single.php

    r15758 r15762  
    11<?php
    22/**
    3  * The Template for displaying all single posts.
     3 * The loop that displays a single post.
     4 *
     5 * The loop displays the posts and the post content.  See
     6 * http://codex.wordpress.org/The_Loop to understand it and
     7 * http://codex.wordpress.org/Template_Tags to understand
     8 * the tags used in it.
     9 *
     10 * This can be overridden in child themes with loop-single.php.
    411 *
    512 * @package WordPress
    613 * @subpackage Twenty_Ten
    7  * @since Twenty Ten 1.0
     14 * @since Twenty Ten 1.2
    815 */
    9 
    10 get_header(); ?>
    11 
    12         <div id="container">
    13             <div id="content" role="main">
     16?>
    1417
    1518<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
     
    6366
    6467<?php endwhile; // end of the loop. ?>
    65 
    66             </div><!-- #content -->
    67         </div><!-- #container -->
    68 
    69 <?php get_sidebar(); ?>
    70 <?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.