Thoughts On Web Design

Hide WooCommerce Shop Page Title

Hide WooCommerce Shop Page Title

How to hide the title of the Shop page on a WooCommerce website.

1. Add the following code to your theme's function.php file.

function hide_shop_title( $show_title ) {

// The code checks to see if the page is the Shop page.
if ( is_shop() ) {

// If it is the shop page, the title is removed.
$show_title = false;
}
return $show_title;
}
add_filter( 'woocommerce_show_page_title', 'hide_shop_title' );

THANKS FOR READING
Thank you for reading Display WordPress Breadcrumbs Without Using A Plugin. I hope you enjoyed it. You can give me feedback, say hi or yell at me on twitter.com/beuinteractive.


Mar 11, 2024 Filed under WordPress

Reading

The Maltese Falcon

Life and Death in The Andes

Ender's Game

War and Peace

Dune

Brewing Up A Business

Latest Tweets


Follow Us On Twitter