Created
January 5, 2016 13:26
-
-
Save stuartduff/e35270ef23bd1bef8b30 to your computer and use it in GitHub Desktop.
Remove the search box from the header of WooThemes Storefront theme
This file contains 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
function remove_sf_actions() { | |
remove_action( 'storefront_header', 'storefront_product_search', 40 ); | |
} | |
add_action( 'init', 'remove_sf_actions' ); |
Best!
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!!! :)