2010-03-29 18:03:15 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template used to display all pages
|
|
|
|
*
|
|
|
|
* This is the template that displays all pages by default.
|
|
|
|
* Please note that this is the wordpress construct of pages
|
|
|
|
* and that other 'pages' on your wordpress site will use a
|
|
|
|
* different template.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty Ten
|
|
|
|
* @since 3.0.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<?php get_header(); ?>
|
2010-02-08 13:02:23 -05:00
|
|
|
|
|
|
|
<div id="container">
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="content">
|
2010-02-08 13:02:23 -05:00
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<?php the_post(); ?>
|
2010-02-08 13:02:23 -05:00
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
2010-03-27 17:50:39 -04:00
|
|
|
<?php if ( is_front_page() ) { ?>
|
|
|
|
<h2 class="entry-title"><?php the_title(); ?></h2>
|
|
|
|
<?php } else { ?>
|
|
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
|
|
|
<?php } ?>
|
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<div class="entry-content">
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php the_content(); ?>
|
2010-03-26 01:37:55 -04:00
|
|
|
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</div><!-- .entry-content -->
|
2010-02-08 13:02:23 -05:00
|
|
|
</div><!-- #post-<?php the_ID(); ?> -->
|
|
|
|
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php comments_template( '', true ); ?>
|
2010-02-08 13:02:23 -05:00
|
|
|
|
|
|
|
</div><!-- #content -->
|
2010-02-07 11:16:26 -05:00
|
|
|
</div><!-- #container -->
|
2010-02-08 13:02:23 -05:00
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php get_footer(); ?>
|