codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Category filter search

    9th August 2013

    Wordpress - Miscellaneous

    wordpress category

    This script adds a category filter when searching, add to searchform.php and comment out the other search box. See more here WordPress Codex

    Other Examples: –
    Order by name, exclude certain categorys and show post count.

    Was this code snippet helpful?