Skip to content

Instantly share code, notes, and snippets.

@wpflames
Created January 13, 2021 09:36
Show Gist options
  • Select an option

  • Save wpflames/1776abb062e39aef615d1fa1394a4546 to your computer and use it in GitHub Desktop.

Select an option

Save wpflames/1776abb062e39aef615d1fa1394a4546 to your computer and use it in GitHub Desktop.
Remove Storefront Page Title
<?php
// =========================================================================
// REMOVE STOREFRONT PAGE TITLE
// =========================================================================
function remove_storefront_actions() {
// SINGLE POST
// =================================
remove_action( 'storefront_single_post', 'storefront_post_header', 10);
// HOME
// =================================
remove_action( 'storefront_homepage', 'storefront_homepage_header', 10 );
}
add_action( 'init', 'remove_storefront_actions' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment