Forum
Perch Blog - get posts that are in 2 categories and in both
Hey just wondering if there is a way to use perch_blog_custom to get posts that are in more than one category so, using AND instead of or?
Hey just wondering if there is a way to use perch_blog_custom to get posts that are in more than one category so, using AND instead of or?
You can set
category-match
in the options toany
orall
I'm passing these options:
and yet i'm still getting items returned that are not in both categories, any ideas what could cause something like this?
also is there anywhere in the docs i can read more into category-match
That's all there is to tell you about
category-match
.I'll have a look and see if I can reproduce it.
much appreciated! Thank you