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 4 years ago.
- AuthorPosts
- April 24, 2020 at 9:41 am #26886
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
AhmedApril 24, 2020 at 1:36 pm #26892Hi,
If there are not too many pages, then you can create a search bar for each one, and then:
Best,
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.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.