Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Hide Categories On Shop Page

Descriere

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

Capturi ecran

Instalare

  • 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

Întrebări frecvente

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

Verificări

31 august 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!
2 noiembrie 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.
19 octombrie 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; }
26 septembrie 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.
Citește toate cele 8 recenzii

Contributori și dezvoltatori

„Hide Categories On Shop Page” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

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