EDIT: I am still having this issue which is driving me mad - can any help me please?
Thanks!
I have a custom single-blog.php that has a custom yet basic feed.
Here is the code:
<div class="container">
<div class="sixteen columns header">
<div class="six columns alpha">
<h4 class="latestTitle">Blog</h4>
</div>
<div class="three columns omega offset-by-seven">
<div id="rightLinks"><a href="#" class="latestTitle2">Home</a> / <a href="#" class="latestTitle3">Blog</a></div>
</div>
</div>
</div>
<div id="whiteBG">
<div class="container">
<div class="ten columns">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
<div class="entry">
<?php the_content(); ?>
<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
<?php the_tags( 'Tags: ', ', ', ''); ?>
</div>
<?php edit_post_link('Edit this entry','','.'); ?>
</div>
<?php endwhile; endif; ?>
</div><!-- end ten -->
<div class="six columns">
<?php get_sidebar(); ?>
</div>
</div><!-- end container -->
</div><!-- end whiteBG -->
<?php get_footer(); ?>
For some odd reason it shows the same single post twice? Anyone run into this issue before?
Thanks,
Ben.
This is the meta code:
<div class="meta">
<em>Posted on:</em> <?php the_time('F jS, Y') ?>
<em>by</em> <?php the_author() ?>
<?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'comments-link', ''); ?>
</div>
/inc/meta.php
?