2010-03-30 00:03:15 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2010-05-17 08:32:03 +02:00
|
|
|
* The template for displaying all pages.
|
2010-03-30 00:03:15 +02:00
|
|
|
*
|
|
|
|
* 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
|
2010-05-16 19:10:21 +02:00
|
|
|
* @subpackage Twenty_Ten
|
2010-05-17 08:36:11 +02:00
|
|
|
* @since Twenty Ten 1.0
|
2010-03-30 00:03:15 +02:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
<?php get_header(); ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
|
|
|
<div id="container">
|
2010-05-10 23:10:12 +02:00
|
|
|
<div id="content" role="main">
|
2010-02-08 19:02:23 +01:00
|
|
|
|
2010-05-17 08:36:11 +02:00
|
|
|
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
2010-03-27 22:50:39 +01: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 17:16:26 +01:00
|
|
|
<div class="entry-content">
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php the_content(); ?>
|
2010-03-26 06:37:55 +01:00
|
|
|
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</div><!-- .entry-content -->
|
2010-02-08 19:02:23 +01:00
|
|
|
</div><!-- #post-<?php the_ID(); ?> -->
|
|
|
|
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php comments_template( '', true ); ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
2010-05-17 08:36:11 +02:00
|
|
|
<?php endwhile; ?>
|
|
|
|
|
2010-02-08 19:02:23 +01:00
|
|
|
</div><!-- #content -->
|
2010-02-07 17:16:26 +01:00
|
|
|
</div><!-- #container -->
|
2010-02-08 19:02:23 +01:00
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
2010-03-16 21:17:22 +01:00
|
|
|
<?php get_footer(); ?>
|