Apologies for the lack of code, but I have no idea where to start with this – is it possible to extend WordPress’s search function to include excerpts and (custom) taxonomies as well as the standard title and post content in search results? i.e. search results don’t include posts that contain keywords found in excerpts or taxonomies, is it possible to include them?
Ideally, I’d like to do this without a plugin if possible, is there a way to extend it via functions.php?
Thanks for any pointers.
Osu
With WordPress 4.2.2 I’m using the following (admittedly fragile) method to search excerpts as well as the content and title without a plugin.
This is the relevant snippet from functions.php.