onecolumn-page.php 906 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Template Name: One column, no sidebar
  4. *
  5. * A custom page template without sidebar.
  6. * Selectable from a dropdown menu on the edit page screen.
  7. *
  8. * @package WordPress
  9. * @subpackage Twenty Ten
  10. * @since 3.0.0
  11. */
  12. ?>
  13. <?php get_header(); ?>
  14. <div id="container" class="onecolumn">
  15. <div id="content">
  16. <?php the_post(); ?>
  17. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  18. <div class="entry-content">
  19. <?php the_content(); ?>
  20. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
  21. <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
  22. </div><!-- .entry-content -->
  23. </div><!-- #post-<?php the_ID(); ?> -->
  24. <?php comments_template( '', true ); ?>
  25. </div><!-- #content -->
  26. </div><!-- #container -->
  27. <?php get_footer(); ?>