Home › Forums › Front-end Issues › Displaying a relationship field on a custom post type taxonomy page › Reply To: Displaying a relationship field on a custom post type taxonomy page
Hi @megancm
We can now agree that ACF is correctly loading the value, the problem you originally posted must be that you have a plugin that is modifying the pre_get_posts filter and preventing ACF from loading the gallery images.
Perhaps you can start debugging in the relationship field file. There is a function for format_value_for_api` – this is where the posts are loaded in from the array of IDS.
This will be a good place to start.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.