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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.