Livemesh Posts Grid Widget – Exclude Multiple Categories

[ad_1]

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)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer