Documentation / Plugins / WooCommerce / Codex / Snippets / Frontend Snippets Exclude products from a particular category on the shop page As ‘knives’ is just an example in the snippet below, please be sure to use a product category slug that exists in your WooCommerce store. View the code on Gist. Was this article helpful? Yes ☺ No ☹ Your email address What was helpful? Or not?