mirror of
https://github.com/kennethreitz/wordpress-theme-skeleton.git
synced 2026-06-05 15:10:17 +00:00
19 lines
409 B
PHP
19 lines
409 B
PHP
<?php /* Template Name: Index*/ ?>
|
|
|
|
<?php get_header(); ?>
|
|
|
|
<?php if (have_posts()): while (have_posts()): the_post(); ?>
|
|
|
|
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></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(); ?>
|