I am working on my very first theme and it isn't going well.
The index page works great, but when I view a single entry, I run into problems. It sees the title, keywords and everything else properly, it just won't display the text of the entry. I have tried everything from the default theme coding to my own homemade brew and still can't get a solution.
I know it is seeing the file because it displays the content of the
<title> tag properly.
My site: http://www.williamstewart.org
Any help would be greatly appreciated!
Here's the code I'm using:
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<span class="vitaldetails"><?php the_time('F d, Y'); ?> | <a href="<?php comments_link(); ?>"><?php comments_number('0 comments','1 comment','% comments'); ?></a><?php edit_post_link('Edit','(',')'); ?></span>
<?php endwhile; else: ?>
<h1>File not found</h1>
<p>Whoops! This file cannot be found.</p>
<?php endif; ?>
<!-- /content -->
<?php get_footer(); ?>