Hi there, I need to show a dropdown list on the frontend that displays a list of all items entered into a text ACF field that is attached to a custom post type. I then display this using a shortcode. When selected, it redirects to the related CPT post.
I’ve had this working showing the post_title but can’t get this working for an ACF field. I have tried changing the $recent[“post_title”] to the acf field but it didn’t work and I’m not really sure how to go about this.