• greasypigstudios

    (@greasypigstudios)


    https://www.scottlukowski.com/home/concept-art
    https://www.scottlukowski.com/home/concept-art-2

    The category archives are actually pages with query posts getting posts from a certain category. This way I can have custom fields for text appearing on the side.

    Let’s say concept-art shows all the posts in category 1, and concept-art-2 shows all posts in category 2. Meanwhile, several category 2 posts are also tagged category 1, since I want certain posts to show up in both pages.

    I have next_post_link() in_same_category set to TRUE , however, when you click on one of the thumbnails in the concept-art-2/category 2 page, the next/previous buttons in the single posts seem to be next/previous for category 1, aka the larger of the two groups. How can I make it so that if you click on a thumbnail from concept-art-2 the next/previous links in the single posts only show category 2 and not any other categories that that single post may have been tagged in?

Viewing 1 replies (of 1 total)
  • Thread Starter greasypigstudios

    (@greasypigstudios)

    Okay, I just learned about the Smarter Navigation plugin, which is great, except it asks to replace next_post_link with next_post_smart except I’m already using PostMash filtered to reorder posts, and they also require a next_post_link replacement function (in their case next_post_menu I believe).

    Any thoughts?

Viewing 1 replies (of 1 total)
  • The topic ‘Next/Previous link category showing multiple categories’ is closed to new replies.