posts_nav_link organized by tag – next page not working properly
-
Having trouble with my next and previous entries on our blog. I have to preface it with the fact that have split the loop into two separate pages in which any post with the tag “blog” goes with blog.php and any post with the tag “news” will go to the index.php page.
The problem I have is when you hit the “next page” button on either page it just reloads the same loop instead of showing the next set.
You can visit the site here…
The code on each page looks like this…
<div class="alignleft"> <?php posts_nav_link('','','? Previous Entries') ?> </div> <div class="alignright"> <?php posts_nav_link('','Next Entries ?','') ?> </div>
Not sure what I am missing and why it will not show the next set of posts. Also if it does advance the next set of pages will still need to only show tagged posts from either “blog” or “news”.
Any thoughts as to what I am missing and doing wrong here. Is it shifting to an archive page?
Also, once I do hit the next page button then it shows the next/previous buttons again. Not sure what I did there either. Thoughts?
Thanks for any time in which you have reviewed and tried to answer my issues, it is much appreciated! Let me know if you have any questions.
- The topic ‘posts_nav_link organized by tag – next page not working properly’ is closed to new replies.