Skip to content

Instantly share code, notes, and snippets.

@grola
Last active January 26, 2018 15:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save grola/c86fdb19b6e03d9c63944b011235a56e to your computer and use it in GitHub Desktop.
Add category to posts search
<?php
/* search by category */
new studiowp_search_by_taxonomy( 'category' );
@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