how to force filters in a search per page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support how to force filters in a search per page

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26886
    abennis38
    abennis38
    Participant

    Hi,
    I tried to search for this everywhere but could not find
    I have a generic search form which is working fine
    It s using mainly custom Post type and no search field (only filters)

    I need to create now different pages on my website which would be calling the same results of this search but but with different values for the filters

    Example: My generic search shows all type of Real Estate properties
    I want to create a separate pages by custom field “property_type” which would show only a specific value of “property_type”
    – Page “Villa” showing only “property_type” Like “Villa”
    – Page “Apartment” showing only “property_type” Like “Apartment”

    again this property_type is a post_tax_filter and and not a search filter (asp_s)

    If you can shed some light how to easily achieve that, that would be great

    Thanks
    Ahmed

    #26892
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    If there are not too many pages, then you can create a search bar for each one, and then:
    If the “property_type” is a custom field (meta), then you can use a hidden meta filter.
    If it is a taxonomy, then this should help you.

    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.