This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search based on custom field value

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search based on custom field value

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32282
    Aishak28Aishak28
    Participant

    Hi,

    as I said in title, is it possible to search based on custom field value and exclude all others?

    Example:

    I have custom field named “gender” and custom post type “people”. It is easy to make search just in “people”, but is it possible to filtre “people” by “gender” in result list?

    Thank you

    #32294
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Sure, that should be doable. You can choose the desired post type to search for under the General Options ->Sources panel. Then you can create a custom field based filter for it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.