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.

Shape block dynamic data

  • This is a feature request.

    It would be nice if we could add dynamic shapes (via ACF field) into the shape block.

    Is there a way this can be achieved now?

  • Hi there,

    At the moment, the Shape block doesn’t support dynamic data out of the box, so it isn’t possible to pull a shape directly from an ACF field.

    As a workaround, you could:

    Use a Container block with a background image set to dynamic data (ACF image field), or

    Output your ACF field as inline SVG or image using a Shortcode block or custom PHP snippet.

    This way, the shape will still be tied to your ACF field, though not through the Shape block itself.
    Additionally, I will note this as a feature request for future updates.

  • Hey Chaz,

    Thanks for the hasty response and also for the provided workarounds!

    Have a good one.

  • Hi there,

    Glad the workarounds helped. I’ve also logged this as a feature request so it’s on our radar for future updates.

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