This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 7 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
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 3 years, 7 months ago.
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
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.
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |