ACF Post Object Fields Not Displaying for Linked Artist Post
-
I am trying to display custom fields (such as Artist Photo and Artist Bio) from the Artist post type when viewing a Song post. The Song post is linked to an Artist post using an ACF Post Object field.Issue:
When editing a Song post in TagDiv Composer, the custom fields from the related Artist post (e.g., Artist Photo, Artist Bio) do not display. I’ve tried multiple approaches, including:
- Adding a Custom Field block in TagDiv Composer and attempting to pull the image field from the linked Artist post.
- Ensuring that the Artist Photo field in the Artist post is set to return an Image URL in ACF.
- Checking that the Post Object field correctly links the Song post to the Artist post.
- Using both Image and Text fields in the Artist post to ensure that TagDiv can render both types of fields.
- Clearing all caches and refreshing after making changes.
Steps to Reproduce:
- Create a Post Object Field in the Songs post type that links to the Artist post.
- In the Artist post type, create fields for Artist Photo (Image) and Artist Bio (Text).
- Link a Song post to an Artist post using the Post Object field.
- Open the Song post in TagDiv Composer and attempt to add a Custom Field block to display the Artist Photo and Artist Bio from the linked Artist post.
What I’ve Tried:
- Inserting a Custom Field in TagDiv Composer and selecting the Artist Photo field from the related Artist post.
- Verifying the return format of the fields in ACF (set to Image URL).
- Using Text Blocks in TagDiv Composer to display text fields from the related Artist post, but it doesn’t work.
- Clearing cache and disabling any third-party plugins that could interfere.
Expected Behavior:
I expect the Artist Photo (image) and Artist Bio (text) from the linked Artist post to display in the Song post when using TagDiv Composer.Actual Behavior:
The Custom Field block in TagDiv Composer does not display the data from the linked Artist post, even though the Post Object field is set correctly and the data is available in the Artist post.
- You must be logged in to reply to this topic.