- This topic has 1 reply, 2 voices, and was last updated 6 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › using search and filter pro with acf to direct the user to a specific page
Tagged: acf, cpt, custom post type, serach result
We are using search and filter pro with acf
we have this part working
The idea and what we have working is that certain custom post types are tagged with destinations and months using acf and then a search form on the homepage allows the user to click a destination such as Botswana the second dropdown of months updates to show the months that are good to travel such as March, April then when the user can click submit
the issue
The user is taken to a search result page which only lists the one item so you then have to click the title Botswana to view the post which is a bit odd (as there is only one result)
We would like to
On submit redirect the user to the actual post
The page/cpt is:
domainname.co.uk/destinations/botswana/
the search result returns:
domainname.co.uk/destinations/?_sfm_destination_name=Kenya&_sfm_destination_months=May
Is there any way to direct to the post instead of a search page?
Thanks
Nick