Archive not showing any posts
-
Hey all,
I am trying to create an archive for a site, and I have the Archive template (archives.php) up and running fine, displaying the posts by month – trouble is, when I click the link I am taken to my index page with no results.
An example of the link generated is –
Index is very simple, as below, and I thought this would do the trick, but should I be adding some other code somewhere?
Any pointers would be appriciated.
Thanks.
<div class="section-title"><h2>Your selected Client Balances</h2></div> <?php if(have_posts()) : while(have_posts()) : the_post(); ?> <li> <p class="news_title_padd" id="post-<?php the_ID(); ?>"> <a href="<? the_guid() ?>" rel="bookmark" title="<? the_title_attribute(); ?>"><? echo the_title(); ?></a> - <strong><? the_time('jS F Y'); ?></strong> </p> </li> <?php endwhile; endif; ?>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Archive not showing any posts’ is closed to new replies.