WordPress.org

Support

Support » How-To and Troubleshooting » Next/Prev Post Links Not Working in Sub-Categories

Next/Prev Post Links Not Working in Sub-Categories

  • richard.calahan
    Member

    @richardcalahan

    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!

  • The topic ‘Next/Prev Post Links Not Working in Sub-Categories’ is closed to new replies.