Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Image as post meta doesn’t show anything

  • 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.

  • Hi there.

    A few questions first

    1. What plugin created the custom fields (ACF, Meta Box, custom code)?
    2. How is the image stored — as URL, attachment ID, or array?
    3. Are you using an Image block with dynamic data, or a text block with Post Meta dynamic tag?
  • 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?

  • Hi,

    Yes, that’s it, you got it right now!

  • Great, thanks George!

  • No problem!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.