Livemesh Posts Grid Widget – Exclude Multiple Categories
-
Hi there, when using the ‘Posts Grid’ widget from Livemesh, I can successfully exclude a single category using an additional query like:
category__not_in=9
However, I can’t figure out the syntax for excluding multiple categories. The WordPress ‘Query Posts’ info doesn’t really help with this.
The developer at Livemesh said this when I inquired on their support section here:
You can to ask this question in SiteOrigin forum. May be they parse the arguments into an array if you provided comma separated values since the parameter expects an array if you want to exclude multiple categories. Pls check with them once since we just use their standard query controls provided by SiteOrigin to accomplish this.
Pls let me know if no such option exists. I will try to provide a solution which filters the query programmatically in your child theme.
livemesh (@livemesh)
- The topic ‘Livemesh Posts Grid Widget – Exclude Multiple Categories’ is closed to new replies.