initial commit
This commit is contained in:
21
single.php
Normal file
21
single.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/* The Template for displaying all single posts. */
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
|
||||
<?php the_content(); ?>
|
||||
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
|
||||
<p class="date"><?php twentyten_posted_on(); ?></p>
|
||||
<p class="post-meta"><?php twentyten_posted_in();?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
</div>
|
||||
<?php get_footer(); ?>
|
Reference in New Issue
Block a user