If you’d like to hide the heading on category pages you can do so with a simple custom function. This code should be added to either:
- A child theme’s functions.php file.
- Or, via the Code Snippets plugin
This is the code:
1 2 3 4 |
add_action( 'after_setup_theme', 'cg_remove_archive_titles', 99 ); function cg_remove_archive_titles() { remove_action( 'woocommerce_before_main_content', 'shoptimizer_archives_title', 20 ); } |
Note: This code will only work if you have the following option selected:
Appearance > Customize > Layout > WooCommerce > Category description layout - within content