~canonical-sysadmins/wordpress/3.9.x

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyten/onecolumn-page.php

  • Committer: Andrew Glen-Young
  • Date: 2011-03-08 14:47:51 UTC
  • Revision ID: andrew.glen-young@canonical.com-20110308144751-1n6spqgayztf9h77
[AGY] import 3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
                <div id="container" class="one-column">
18
18
                        <div id="content" role="main">
19
19
 
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; ?>
 
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
                        ?>
34
27
 
35
28
                        </div><!-- #content -->
36
29
                </div><!-- #container -->