Ready to get started?Download WordPress


Retrieving categories when searching posts (1 post)

  1. madinkbeard
    Posted 8 years ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Topic