- Timestamp:
- 10/13/2010 05:05:25 AM (14 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-content/themes/twentyten/loop-attachment.php
r15782 r15787 1 1 <?php 2 2 /** 3 * The template for displaying attachments. 3 * The loop that displays an attachment. 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-attachment.php. 4 11 * 5 12 * @package WordPress 6 13 * @subpackage Twenty_Ten 7 * @since Twenty Ten 1. 014 * @since Twenty Ten 1.2 8 15 */ 9 10 get_header(); ?> 11 12 <div id="container" class="single-attachment"> 13 <div id="content" role="main"> 16 ?> 14 17 15 18 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> … … 111 114 <?php comments_template(); ?> 112 115 113 <?php endwhile; ?> 114 115 </div><!-- #content --> 116 </div><!-- #container --> 117 118 <?php get_footer(); ?> 116 <?php endwhile; // end of the loop. ?>
Note: See TracChangeset
for help on using the changeset viewer.