By Fahad Murtaza · Published · Updated
Build Elementor v4 atomic elements with your AI agent
Elementor 4.0 introduced a new element model: atomic containers (e-flexbox,
e-div-block) and atomic widgets (e-heading, e-paragraph, e-button,
e-image) whose settings are stored as typed props rather than plain values.
WP MCP speaks that format, so your AI agent can build on the v4 canvas, and it
tells the agent when to use it.
Check what the site supports first
› Is this site on Elementor v4 with atomic elements?
detect-elementor-version reports the Elementor version, whether atomic
elements are supported, and a recommended mode (atomic or legacy). An agent
calls this first to decide between the classic widget tools and the atomic ones.
Build atomic layout and widgets
› Add a flexbox on /home and put a heading "Welcome" and a paragraph inside it.
› Add an atomic button labelled "Get started" linking to /signup.
add-flexbox and add-div-block create atomic containers. add-atomic-widget
adds a widget by its e-* type. You pass friendly params (title, content,
text, image_url, alt, link) and WP MCP converts them into Elementor’s
typed prop shapes, so an atomic heading comes out with a real rich-text value,
not an empty box. Any atomic type also accepts raw typed settings for full
control.
Edit what is there
› Change the heading with id ab12cd3 to "Welcome back".
update-atomic-widget maps the params you pass into typed props and merges only
those, so untouched props are left alone.
Why it is safe
Atomic elements are written straight into _elementor_data as post meta,
snapshotted before the write, so the typed props are stored exactly as Elementor
expects and every atomic edit is reversible with rollback-operation. If the
site is not on v4, detect-elementor-version says so, and the classic Elementor
tools remain the right choice.
Comparing options? See Elementor AI vs an MCP agent.
Common questions
What are Elementor v4 atomic elements?
They are the Elementor 4.0 element model: atomic containers such as e-flexbox and e-div-block, and atomic widgets such as e-heading, e-paragraph, e-button and e-image, with settings stored as typed props.
How does my AI agent know whether a site uses atomic elements?
detect-elementor-version (a WP MCP Pro tool) reports the Elementor version, whether atomic elements are supported and a recommended mode, atomic or legacy.
Do I have to write Elementor's typed props by hand?
No. You pass friendly params such as title, content, text, image_url, alt and link, and WP MCP converts them into Elementor's typed prop shapes. Raw typed settings are also accepted for full control.
Will editing one atomic widget overwrite its other settings?
No. update-atomic-widget maps the params you pass into typed props and merges only those, leaving untouched props alone.
Can I roll back an atomic element edit?
Yes. The write to _elementor_data is snapshotted first, so rollback-operation restores it.
All WP MCP guides, or see every plugin integration. Topic: Elementor.