Search based on custom field value

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

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32282
    Aishak28
    Aishak28
    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 Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.