[HELP] Next/Prev show the same post
-
Hi guys,
I’ve a big problem with my magazine on-line (https://www.zerogradinord.net), created with WP 2.6.2.
When you clik in the bottom of the page (any kind of page) over link past or recent post, WP always charge the page with the last post but he think to be in the right page. Actually, if you go over the link past or recent you see go to page 3,4,5 etc etc. But, if you click on it, you always see the same page with the last post…
I’ve partially solve the problem. With the code under, founded in one topic and now my home page (https://www.zerogradinord.net) works properly.<?php
if (is_home()) {
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“cat=…&paged=$paged”);
}
?>But the category page (like https://www.zerogradinord.net/americas-cup-news/), with these code doesn’t work. With standard loop string like <?php query_posts(‘cat=4,-865’); ?> it always charge the same post.
Someone can help me?MM
- The topic ‘[HELP] Next/Prev show the same post’ is closed to new replies.