Next and Previous Links in specific category (2 posts)

  1. Ahmed Hamouda
    Posted 3 years ago #

    If I wanna make navigation for posts I would use
    <?php previous_post(); next_post(); ?>
    But if I have one post in two categories and I wanna make the navigation work in just one of them. How can I accomplish this?

  2. vtxyzzy
    Posted 3 years ago #

    Here is an article that might help: http://wordpress.mcdspot.com/2010/06/02/stay-in-category/

Topic Closed

This topic has been closed to new replies.

About this Topic