mirror of
https://github.com/kennethreitz/wordpress-theme-skeleton.git
synced 2026-06-05 23:20:18 +00:00
initial development
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
<?php /* Template Name: Single*/ ?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
|
||||
|
||||
<?php if (have_posts()): while (have_posts()): the_post(); ?>
|
||||
|
||||
<h1><?php the_title(); ?></h1>
|
||||
|
||||
<div class="meat">
|
||||
<?php echo the_content(); ?>
|
||||
</div>
|
||||
|
||||
<?php if(comments_open()): ?>
|
||||
<div id="comments">
|
||||
<?php comments_template(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; endif; get_footer(); ?>
|
||||
Reference in New Issue
Block a user