I have a problem with trying to exclude a category from a WordPress site. It has woocommerce installed and I’m using the WooThemes theme “Shelflife”. It’s a ecommerce site ([rossmarineideas.com](//www.rossmarineideas.com “Ross Marine Ideas”)) and I want to exclude a category with plain drinkware from showing up in the more products section of the home page. The category ID is 234 and I’ve tried EVERYTHING I can think of to exclude it — googled how and I’ve put it in the array as _’cat’ => ‘-234’_ and as a separate WP_query(); function….
Could use a little help. Also sent Chris an email asking for some help.
That’s because what I posted was the original code. I’ve tried adding in the exclusion for the category, but the result is the same. It’s like wordpress is ignoring the argument for excluding the category. I updated my code and if you look at the site now, you’ll still find items in the “more products” section that are plain. (Refresh a few times and you’ll eventually find the word “plain” in at least one of the products)