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
Embed
What would you like to do?
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