Skip to content

Instantly share code, notes, and snippets.

@corsonr
Last active December 23, 2020 08:16
Show Gist options
  • Save corsonr/8703820 to your computer and use it in GitHub Desktop.
Save corsonr/8703820 to your computer and use it in GitHub Desktop.
WooCommerce : Remove the "shop" title on the main shop page
<?php
/**
* Removes the "shop" title on the main shop page
*/
add_filter( 'woocommerce_show_page_title', '__return_false' );
@Freekers
Copy link

Freekers commented Jun 9, 2020

Thanks!

@hi2rashid
Copy link

hi2rashid commented Jun 21, 2020

For me this worked h1.page-title { display: none }

In Custom CSS editor page https://mysite.com/wp-admin/customize.php?autofocus%5Bsection%5D=custom_css

@ibobbymac
Copy link

added css to customization (least work & won't get overwritten by future updates or flagged by wordfence)

.woocommerce .page-title, .woocommerce-page .page-title{
display: none !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment