Make WordPress Core


Ignore:
Timestamp:
11/30/2010 08:29:25 PM (16 years ago)
Author:
nacin
Message:

Merge Twenty Ten 1.1 to the 3.0 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-content/themes/twentyten/onecolumn-page.php

    r15787 r16628  
    1818                        <div id="content" role="main">
    1919
    20                         <?php
    21                         /* Run the loop to output the page.
    22                          * If you want to overload this in a child theme then include a file
    23                          * called loop-page.php and that will be used instead.
    24                          */
    25                          get_template_part( 'loop', 'page' );
    26                         ?>
     20<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
     21
     22                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     23                                        <h1 class="entry-title"><?php the_title(); ?></h1>
     24                                        <div class="entry-content">
     25                                                <?php the_content(); ?>
     26                                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
     27                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
     28                                        </div><!-- .entry-content -->
     29                                </div><!-- #post-## -->
     30
     31                                <?php comments_template( '', true ); ?>
     32
     33<?php endwhile; ?>
    2734
    2835                        </div><!-- #content -->
Note: See TracChangeset for help on using the changeset viewer.