Skip to content

Instantly share code, notes, and snippets.

@grola
Last active January 26, 2018 15:04
Show Gist options
  • Save grola/c86fdb19b6e03d9c63944b011235a56e to your computer and use it in GitHub Desktop.
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