I’m trying to find a tutorial or code so that I can create a search form using the relationship field to filter posts on a custom post type archive page. The post type is “Physicians” and I want to create a dropdown search form so users can filter the “Physicians” by the CPT “Locations” and/or the CPT “Specialties”. I can’t to figure out how to first get the list of options in the relationship field for the select form field. Then how do I tell it to look through the “Physicians” post types to find the ones that match the search?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users