Last active
January 26, 2018 15:06
-
-
Save grola/7840b0fc12da770bc3f7a5b87ef9d4be to your computer and use it in GitHub Desktop.
Add product category to 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 | |
/* search by product category - WooCommerce */ | |
new studiowp_search_by_taxonomy( 'product_cat' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use with this gist