BountiesBookmark

How to extend the WordPress Search to Taxonomies?

By default, WordPress Search is somewhat limited and seems to pull results based on Title/Content only. If I write a Post and Tag it “JavaScript” but don’t mention that specific keyword in the Title/Content, searching the site for JavaScript won’t show this Post in the search results despite the Tag.

What would be a minimal function to extend WP search to Tags, Categories, and Custom Taxonomies? Ideally, this could be done without the use of a plugin like WP Extended Search.

to post reply/answer
PHP
WordPress
Sign in
Forgot password?