-
Leonardo
ehy there dear team,
I created a custom post type with custom fields. I built both the archive loop template and the block element that displays the single post.
In the single post I have several pieces of data that I output using post meta. However, the only data that doesn’t show up is the photo, and I can’t understand why. In the private info I’ll add a few more details.
-
George
Hi there.
A few questions first
- What plugin created the custom fields (ACF, Meta Box, custom code)?
- How is the image stored — as URL, attachment ID, or array?
- Are you using an Image block with dynamic data, or a text block with Post Meta dynamic tag?
-
Leonardo
Hey George,
I’m using WP Engine’s ACF with the image block! While asking these questions I realized the return format was set to image array instead of URL. Now I see it works, I assume this is what you meant, right? -
George
Hi,
Yes, that’s it, you got it right now!
-
Leonardo
Great, thanks George!
-
George
No problem!
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.