Here is my setup:
- Site with lots of Posts
- Each Post is a member of multiple Categories (I’ll call them Cat1, Cat2, Cat3, etc)
- I want the Next/Previous to cycle through all Posts in Cat1 (regardless of what other Categories it is in) and then echo “This is the last Post in this Section” when it reaches the last Post in Cat1.
- But I then want it to do the same thing for all the Posts in Cat2 (regardless of what other Categories it is in), and for Cat3 and so on
I was doing this in v.2.3 of this plugin by setting in_same_cat to true, setting the ex_cats_method to diff and then listing all the Categories I wanted it to ignore in ex_cats.
With v.2.4 and the introduction of in_cats I thought this would make my life easier. I would just list the Categories I wanted it to key on instead of listing all the Categories to exclude (a much longer list). But when using in_cats, the ex_cats_method seems to be ignored. So when I get to the last post in Cat1 it goes right on to Cat2 instead of echoing my “This is the last Post in this Section” line.
Am I just thinking of this fundamentally wrong (trying to use in_cats and ex_cats_method at the same time) or is it possible and I’ve just coded it wrong?