Last active
August 29, 2015 14:12
-
-
Save WillBrubaker/15397f242c29dd37e4e3 to your computer and use it in GitHub Desktop.
Override Default Search with WooCommerce Product Search
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
<?php | |
if ( function_exists( 'woocommerce_product_search' ) ) { | |
echo woocommerce_product_search(); | |
} else { | |
//the original contents of search.php should follow | |
//make sure to close the php tag as appropriate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment