Documentation / Plugins / WooCommerce / Codex / Snippets / Frontend Snippets How can we improve this documentation? This feature is not an official support channel, if you need support for one of our products please visit our Help Desk and submit a ticket. Your email address How can we improve our documentation? 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.