Support

Account

Home Forums ACF PRO Using the relationship field to filter posts on CPT archive

Unread

Using the relationship field to filter posts on CPT archive

  • 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)

The topic ‘Using the relationship field to filter posts on CPT archive’ is closed to new replies.