• Resolved ImageDavid Lewis

    (@uniondesign)


    Pattern Overrides are great but they only work with Heading, Paragraph, Button, and Image. What I find limiting is that we can’t override attributes like the image associated with a Media & Text block or Cover block. So the only way to create a Synced “Hero” Pattern (for instance) with Overrides would be with an Image block. Layout-wise that limits you to using Columns as the wrapper and putting an overridden Image Block inside a Column. You can’t make a Synced Pattern based on a Cover or Media & Text Block for instance where the user can change the image. Their only option would be to detach the Pattern.

    • This topic was modified 4 weeks, 1 day ago by ImageDavid Lewis.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello David,

    Is this a feature suggestion for WordPress? If so, I recommend making a Feature Request ticket for WordPress Core at https://core.trac.wordpress.org/newticket.

    If you’re asking for help finding a plugin with this functionality, feel free to specify and I’ll help you search for one.

    Thread Starter ImageDavid Lewis

    (@uniondesign)

    It is. Thank you. I will do that. This IS the “Requests and Feedback” forum so I thought it might be an ok / suitable place for this but I’m sure mentioning in the repo might be a better way to get it in front of the right people. Thanks for the link.

    Moderator Imagethreadi

    (@threadi)

    It’s perfectly fine to post feature requests here in the forum. Maybe your wish does already exist and work, but you’re just not aware of them. Other users can help with that.

    Your request concerns the Gutenberg components of WordPress. I’m not sure myself whether what you’re looking for already exists there. I would recommend contacting the Gutenberg team. To do so, you would need to create an issue here on GitHub: https://github.com/WordPress/gutenberg/issues

    Hi,

    You are correct that Pattern Overrides currently work only with certain blocks like Heading, Paragraph, Button, and Image.

    Blocks such as Cover and Media & Text don’t yet support overriding attributes like the image within a synced pattern. Because of that limitation, changing the image while keeping the pattern synced isn’t possible at the moment.

    A possible workaround is to build the layout using Columns and place an Image block inside the column so the image can be overridden. Otherwise, the pattern would need to be detached before changing the image.

    Hopefully this functionality may improve in future updates.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.