WordPress.org

Ready to get started?Download WordPress

Forums

Next and Previous Links in specific category (2 posts)

  1. Ahmed Hamouda
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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