I have my Reading settings set to Static pages and blog is set to a page called What's New.
When I go to this What's New page I can see the post content but the post title with link to post page is not displaying. I can only see the post content.
I have done everything I can think of to find the error, with no luck, please help!
Code for index.php:
<div id="content" class="narrowcolumn" role="main">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time(__('F jS, Y')) ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content(__('Read the rest of this entry »')); ?>
</div>
<p class="postmetadata"><?php the_tags(__('Tags:') . ' ', ', ', '<br />'); ?> <?php printf(__('Posted in %s'), get_the_category_list(' ')); ?> | <?php edit_post_link(__('Edit'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »'), __('1 Comment »'), __('% Comments »''), '', __('Comments Closed') ); ?></p>
</div>
<?php endwhile; ?>
I'm not sure if it's relevant but I have the commented out on the page template.
Code for whats-new.php:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><?php the_title(); ?></h1>
<div class="entry">
<?php the_content(''); ?>
</div>
</div>
</div>
<?php endwhile; endif; ?>
I hope someone can help! If you have any ideas they're much appreciated. I've tried removing parts of my functions file, making the blog the home page under settings, and so other stuff.
Any ideas?