[Plugin: Smarter Navigation] How to link prev/next post in parent category?
-
Hi. I can’t figure out how to get prev/next posts links to work as I wish.
I have a parent category called “Portfolio” and some child categories (web design, identity design, editoria design). Because of functional needs, when I publish a post, I check only the child category where that post belongs.
When I access to “portfolio” category, I get all the posts belonging to child categories displayed. That’s ok. But, when I click on one of this posts, the prev/next links only link to same child category posts but not prev/next posts in parent category “portfolio”. I tried checking both categories: parent category “porfolio” and child category…let’s say “web design”. Prev/next posts links works fine that way, but… wordpress asign main category to each post based in alphabetical order (“portfolio” is before “web design”) so another functions that needs the child category slug to work doesn’t work anymore.
So, what I want to do is:
1) If I came from “Portfolio” category prev/next posts links points to posts in “portfolio” (although the post slug looks like /portfolio/web-design/)2) If I came from a child category, for example, “web-design”, prev/next post links point to posts belonging to this child category.
Is this possible?
Thanks in advance.
ps: sorry for my english
https://www.ads-software.com/extend/plugins/smarter-navigation/
- The topic ‘[Plugin: Smarter Navigation] How to link prev/next post in parent category?’ is closed to new replies.