-
Andrew
Hey gang.
I’m wondering if there is a plan going forward to integrate AI into generating page layouts in GB and Site creation in GP. Other tools are picking this up – Wix, Squarespace etc.. but now Elementor is making strides here in WordPress space. Sure, the results are pretty spotty at the moment but being able to spin up a full ecommerce store in 15 minutes – ready to customise is hard to ignore.
AI engines are great at outputting straight HTML layouts based on prompts. I’ve been getting Perplexity and Claude AI to output these layouts as Generateblocks WP Editor code which can then be pasted into the editor. This should technically work – but always seems to throw an error and be flagged as invalid by WP. GPT says:
You are correct that, as of mid-2025, there is no officially supported way to paste raw block markup or JSON to instantly create complex GenerateBlocks layouts in the WordPress editor. The block editor is designed to prevent invalid or mismatched block code from being inserted, especially for third-party blocks like GenerateBlocks. This is a limitation of the WordPress block editor’s architecture and how plugins register and render their blocks.
… and goes on to recommend that manual creation is currently the only way to do it. This seems to defeat the point of a code editor in WP in the first place??
Anyway.. Whats the GB/GP team’s thoughts on this at the moment?
-
David
Hi there,
AI site building is something we are keeping a close eye on. Its not something we’re going to jump into today as doing something badly is worse then doing nothing. And I don’t see a future where we will replace our designs with “AI” imitations, as we will remain supportive of human made content.
That said we do see a need and are actively researching/developing “smart” features that will improve workflow. Those features include new site onboarding, site wide and pattern library customisation, 3rd party / LLM content and potentially converting code to blocks and styles.
-
Andrew
That said we do see a need and are actively researching/developing “smart” features that will improve workflow.
Yeah this is what I’m talking about – the ability to incorporate AI tools into workflow. ATM we can create the code for GB layouts from prompts to theoretically input into the WP editor but for some reason that throws errors. Why? If this is solved then we should be able to create patterns from prompts.
Another approach – If you look at the way Relume (or octopus.do?) works – it smashes out a site-map with wireframes in seconds. This might then integrate with a GP users’ pre-designed pattern library of components to create a complete GP/GB site.
-
David
If you check the code of a valid block you will see its unique ID in two possible places.
1. the uniqueID block attribute which should always be present eg.
"uniqueId":"0ff0f1cb"
2. in the HTML classname if there are styles attached to the block:
gb-element-0ff0f1cb
If those are missing or theres a mismatch then WP will throw the error.
And there is no easy way to get around that at this time.
We have our own ideas on this issue and its something we are researching.I like Relume a lot, it influenced our own Pattern Library as you can probably tell… and their overall approach to AI building templates makes the most sense to us.
-
Andrew
Thanks David. I look forward to seeing what pops up. Exciting times.
- You must be logged in to reply to this topic.