Use this code in your child themes functions file to conditionally remove taxonomy page titles when using WooCommerce.
add_filter( 'woocommerce_show_page_title', 'remove_product_category_title' ); function remove_product_category_title( $title ) { if ( is_product_category() ) { return false; // Return false to hide the title } return $title; // Return original title for other pages }
Swap out this line to target specific archive page types like product category and product tag archive pages :
if ( is_product_category() ) {
You can extend this code to do anything you like.
Need More Coding Help?
Was This Tutorial Helpful?