I’m having some trouble with a category page that I’ve made. The “Read Older Entries” link on the bottom of the page just displays the same posts as before. I read on another forum to try replacing:
<?php if (have_posts()) : ?> <?php query_posts('cat=3'); ?>
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('cat=3&paged='.$paged); ?> <?php if (have_posts()) : ?>
… which I did, to no avail.
(Mind you, these are examples pulled from the post itself, not my coding.)
One thing I’m noticing is that the problem usually occurs when someone needs to pull a specific category’s posts, using the <?php query_posts(‘cat=X’); ?> code.
This is not something I have previously had trouble with until just recently when another client called me up with the same problem. Is there some sort of update from WordPress that’s doing this? Is there some way to fix it? If not, is there an alternative method for forcing a display of a specific category’s posts?
Any help would be greatly appreciated,
[sig moderated as per the Forum Rules]
- The topic ‘Older Entries link not working’ is closed to new replies.