WordPress.org

Ready to get started?Download WordPress

Forums

Next/Prev Post Links Not Working in Sub-Categories (1 post)

  1. richard.calahan
    Member
    Posted 4 years ago #

    I have added previous_post_link(); and next_post_link(); tags to my single.php. The problem is, even if I set the in_same_cat parameter to TRUE, the navigation does not stay in the same subcategory, only within the one general main category.

    Here's the link, http://benderdesigns.com/portfolio/zaha-hadid-5.

    There are two next/prev buttons hovering somewhere around the lower part of the page. (not styled yet). When you click them, they jump between all subcategories.

    Is it possible to keep the next/prev post links constrained to a specific SUB-category??

    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by richard.calahan
  • This topic is not resolved
  • WordPress version: 2.9.2