page.php 1018 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * The template used to display all pages
  4. *
  5. * This is the template that displays all pages by default.
  6. * Please note that this is the wordpress construct of pages
  7. * and that other 'pages' on your wordpress site will use a
  8. * different template.
  9. *
  10. * @package WordPress
  11. * @subpackage Twenty Ten
  12. * @since 3.0.0
  13. */
  14. ?>
  15. <?php get_header(); ?>
  16. <div id="container">
  17. <div id="content">
  18. <?php the_post(); ?>
  19. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  20. <div class="entry-content">
  21. <?php the_content(); ?>
  22. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
  23. <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
  24. </div><!-- .entry-content -->
  25. </div><!-- #post-<?php the_ID(); ?> -->
  26. <?php comments_template( '', true ); ?>
  27. </div><!-- #content -->
  28. </div><!-- #container -->
  29. <?php get_sidebar(); ?>
  30. <?php get_footer(); ?>