Retrieving categories when searching posts
I’ve searched for an answer to this, but am turning up nothing.
When one searches in WP it seems to only search post_title and post_content. I want to be able to retrieve the associated category names.
For instance, if my post is in category “foo” but “foo” does not appear in the title or content, I’d like to retrieve that post when searching on “foo”.
Is this possible?
- The topic ‘Retrieving categories when searching posts’ is closed to new replies.