WordPress.org

Ready to get started?Download WordPress

Forums

Retrieving categories when searching posts (1 post)

  1. madinkbeard
    Member
    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?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags