Skip to content

Instantly share code, notes, and snippets.

@grola
Last active January 26, 2018 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grola/7840b0fc12da770bc3f7a5b87ef9d4be to your computer and use it in GitHub Desktop.
Save grola/7840b0fc12da770bc3f7a5b87ef9d4be to your computer and use it in GitHub Desktop.
Add product category to product search
<?php
/* search by product category - WooCommerce */
new studiowp_search_by_taxonomy( 'product_cat' );
@grola
Copy link
Author

grola commented Jan 26, 2018

Use with this gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment