I'm using GWcode Categories and I'm trying to figure out how to show, for example, 3 specific categories AND said categories children as well. I know of the show param though, it appears this needs to include the parent category IDs AND their children IDs to have both parents and children show up. Using show="1|2|3" I only get the 3 parent cats in other words.
That of course sucks because anytime a client adds a new child cat we have to update the show param IDs again.
It's almost like we are missing a show_include_children="yes"
in the case of the show param. The next param (excl_cat_id) has something similar in fact.
I know there is the excl_cat_id=""
along with excl_cat_id_children="yes"
params which would work though, that would mean any time a new parent category is added I'd have to go in and excluded that one as well and it's children when added too. The opposite of show in other words though, the same issue.
I know about the cat_id param though, this is only for one category and it's children and of course is only half of what I need. I tried piping here without success.
What about using conditionals or Switchee? Something along the lines of this: {if parent_id == "1|2|3"} my vars {/if}
this would probably work though, seems like there should be a way to do this with out having to loop through 1000 categories just to check for 3.
With all that said, am I missing something, is there not a way to show 3 categories AND their children based on the 3 parent IDs?
Thanks!