Created
January 13, 2021 09:36
-
-
Save wpflames/1776abb062e39aef615d1fa1394a4546 to your computer and use it in GitHub Desktop.
Remove Storefront Page Title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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