This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Hide Categories On Shop Page

Description

This free WooCommerce extension permits you to hide categories on your shops main page.
For this you have to save the categories with ‘,’ seperated in woocommerce > settings > products tab section.

In order for this to work you have to have Categories displayed. This can be set via Customizer. Appearance > Customize > WooCommerce > Product Catalog.

“Choose what to display on the main shop page.” Select Show categories as seen in the Screenshot below.

Arbitrary section

For users who has a different/custom page for their shop you can edit the wc-hide-categories.php file
Find line # 127 and remove //

//$mwd_opt4 = in_array( 'product_cat', $taxonomies ) && ! is_admin() && is_page('YOUR_PAGE_SLUG'),

Then find line #129 /*|| $mwd_opt4*/

Change to
|| $mwd_opt4

If you have any question please ask in the support forum, Thanks

Screenshots

Installation

  • Upload ‘wc-hide-categories.zip’ like any other plugin or upload the zip file contents to the ‘/wp-content/plugins/’ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • Configure the plugin at Dashboard > WooCommerce > Settings > Products > Hide Categories On Shop Page
  • Save your settings with the category slugs with ‘,’ seperated.
  • I.E. cat1, cat2, cat3

FAQ

None at this time

Installation Instructions
  • Upload ‘wc-hide-categories.zip’ like any other plugin or upload the zip file contents to the ‘/wp-content/plugins/’ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • Configure the plugin at Dashboard > WooCommerce > Settings > Products > Hide Categories On Shop Page
  • Save your settings with the category slugs with ‘,’ seperated.
  • I.E. cat1, cat2, cat3

Reviews

August 31, 2019
I have been searching for so long for a plugin or a code that will help me hide categories from my shop page and now I finally found it! I am not a programmer, so I depend on plugins to help me with the coding. I am SO GLAD you made this plugin! It works!
November 2, 2018
Hace lo que dice, no tiene mayor complicacion. Quizas esta un poco escondido en ajustes de producto, pero en la documentación se explica bien.
October 19, 2018
Great plugin does what it says. Would be a better plugin if it can also hide categories on product pages instead of just on the shop page. For product pages I use the following css code picked up from googling: .single-product .product_meta { display: none; }
September 26, 2018
Thanks for this plugin. Very simple, but did the one thing I needed it to without having to pay $100 for something that was overly complex.
Read all 8 reviews

Contributors & Developers

“Hide Categories On Shop Page” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • Added the conditionals to test if the shop is_home() or is_front_page() and added the a fourth test a user could uncomment to add their custom shop page slug.

1.0

  • Stable initial release