• Hey guys, my woocommerce shop page is titled “Shop” and the page title is visible on my Shop page but I don’t want that. I don’t see an option anywhere to remove it.

    Any advice would be great!

    See following screenshot

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello ICP,

    You can edit your theme’s function.php file (be careful!) by adding the filter code below:

    
    add_filter('woocommerce_show_page_title', 'bbloomer_hide_shop_page_title');
    
    function bbloomer_hide_shop_page_title($title)
    {
    	if (is_shop()) $title = false;
    	return $title;
    }
    

    This solution will only hide the “Shop” title, but other WooCommerce pages (i.e., Cart) are not affected.

    If you want to hide the title on all of your pages (or WooCommerce pages), the easiest way to do that is to modify the custom CSS.

    Thread Starter ICP

    (@donnn)

    Hi @tykoted , thank you.

    Just tried that, but no luck unfortunately.

    Could you elaborate the following please? "the easiest way to do that is to modify the custom CSS." Thank you

    Sure, you can paste this CSS code by going in your wp-admin dashboard Appearance > Customize then select Additional CSS

    
    .woocommerce-products-header {
       display: none !important;
    }
    

    If that didn’t work, please share your shop’s URL so I can check it better.

    Thread Starter ICP

    (@donnn)

    Thank you once again!

    Also did not work. I am using the Salient theme by the way, maybe it blocks it in some way?

    I would love to share a link, but I have mine locally installed.

    Yes, most probably the Salient theme has some sort of changes in the code. I checked the Salient theme demo and try to change the CSS code to:

    
    .woocommerce-breadcrumb {
       display: none !important;
    }
    

    If that’s still not working, I suggest going to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    https://themenectar.ticksy.com/

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.`

    Thread Starter ICP

    (@donnn)

    I understand, thank you @tykoted !

    That also didn’t work, but I appreciate your effort and apologies for the late response.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Delete WooCommerce page title’ is closed to new replies.