Divi 5 Support
Understand how Respira detects and safely edits Divi 5 block layouts and Divi 4 shortcodes, including limits, safety rules, and migration roles.
Divi 5 support overview
Divi 5 changes how layouts are stored, and Respira is built to handle both the new block format and older shortcode layouts safely.
Respira helps you plan and validate your Divi 5 migration. Divi’s Migrator performs the actual conversion.
What you’ll learn:
- How Respira detects Divi 5 vs Divi 4 pages and handles mixed content.
- What Respira edits in Divi 5 block layouts and what it preserves.
- How to keep existing Divi 4 workflows running while you migrate.
Tip: Treat Divi 5 migration as a content and structure project, not only a plugin update. Plan, stage, and validate before you switch production pages.
What Divi 5 support means in Respira
Divi 5 support in Respira focuses on safe reading and editing of both layout formats without changing how Divi itself works.
Divi 5 layout format
- Divi 5 uses a block-based layout format.
- Divi modules appear as
divi/*blocks stored inpost_content. - The content structure is similar in spirit to WordPress core blocks but with Divi-specific block names and attributes.
Divi 4 layout format
- Divi 4 uses shortcode-based layouts.
- Layouts are stored as
et_pb_*shortcodes insidepost_content. - Each shortcode encodes a module, row, or section with attributes.
Respira behavior
- Respira can read, edit, and save Divi 5 pages as blocks safely.
- Respira continues supporting Divi 4 pages by reading and writing the existing
et_pb_*shortcodes. - Respira does not perform automatic conversion between these formats.
Respira helps you plan and validate your Divi 5 migration. Divi’s Migrator performs the actual conversion.
How Respira detects Divi 5 pages
Respira identifies the layout format by scanning the raw post_content for known Divi patterns instead of relying only on metadata.
Detection rules
-
Divi 5 pages (block-based)
- Respira scans
post_contentfor block markers where the block name starts withdivi/. - If it finds one or more
divi/*blocks and noet_pb_shortcodes, Respira treats the page as a Divi 5 layout.
- Respira scans
-
Divi 4 pages (shortcode-based)
- Respira scans
post_contentfor shortcodes where the tag name starts withet_pb_. - If it finds
et_pb_*shortcodes and nodivi/*blocks, Respira treats the page as a Divi 4 layout.
- Respira scans
-
Mixed pages (backward compatibility mode)
- Divi 5 can load legacy Divi 4 modules via Backward Compatibility Mode.
- On these pages,
post_contentcan contain both:divi/*blocks, andet_pb_*shortcodes for legacy modules.
- Respira flags these as mixed-format pages so that editing is more conservative.
Warning: Mixed pages running Backward Compatibility Mode can have performance and editing side effects. Plan to stabilize these layouts before doing large-scale edits.
Quick checklist: how Respira classifies a page
- Scan
post_contentfordivi/*blocks. - Scan
post_contentforet_pb_*shortcodes. - If only blocks are present, treat as Divi 5.
- If only shortcodes are present, treat as Divi 4.
- If both are present, treat as mixed and apply stricter safety rules.
What Respira edits in Divi 5 pages
On a Divi 5 page, Respira works directly with the block structure stored in post_content.
Block structure handling
Respira:
- Reads the full block tree for
divi/*blocks. - Focuses changes on:
- Text content within modules.
- Selected attributes that are safe to adjust (for example, copy, headings, basic configuration).
- Writes changes back while keeping the block order and hierarchy intact.
Preservation rules
To avoid breaking layouts or custom behavior, Respira:
- Preserves unknown attributes on Divi 5 blocks.
- Avoids altering block types or turning Divi blocks into other block types.
- Does not strip or re-key attributes it does not recognize.
- Leaves custom JSON-like structures inside attributes untouched unless explicitly targeted for edit.
Tip: If a block has complex styling or custom configuration attributes, edit only the specific text or fields you intend to change and leave structural attributes as they are.
Safe edit checklist for Divi 5 blocks
- Confirm the page is classified as Divi 5 or mixed in the Respira readiness report.
- Target clear, content-focused fields such as headings, body copy, buttons, and alt text.
- Avoid renaming block types or moving blocks across the layout in bulk edits.
- After changes, review the page live on staging to confirm layout and interactions still behave as expected.
What remains compatible for Divi 4 pages
Your existing Divi 4 workflows continue to work in Respira.
Shortcode handling
Respira:
- Reads
et_pb_*shortcodes frompost_contentas structured modules. - Edits module content and selected attributes while keeping shortcode tags and nesting intact.
- Writes updated shortcodes back without converting them into blocks.
Existing workflows
You can continue to:
- Run content and SEO updates on Divi 4 layouts.
- Use Respira to refactor copy, headings, and basic module settings.
- Keep using the same safety practices you already follow for Divi shortcode pages.
Tip: Use your current Divi 4 workflows to clean up copy and structure before running Divi’s Migrator. Cleaner source layouts usually migrate more predictably.
Limitations and safety rules
Divi 5 introduces Backward Compatibility Mode and mixed layouts, which require extra care. Respira leans toward safety over aggressive restructuring.
General limitations
- Divi 5 can load legacy modules through Backward Compatibility Mode, which can affect performance and editing behavior.
- Respira does not disable or configure Backward Compatibility Mode. It only works with the content format it finds in
post_content. - Page-level performance issues from running both blocks and shortcodes come from the site configuration, not from Respira.
Safety rules Respira follows
Respira treats certain parts of the layout as opaque unless you explicitly choose to edit them:
- Unknown attributes on Divi 5 blocks are preserved as-is.
- Legacy modules referenced via
et_pb_*shortcodes remain in place. - Complex layout constructs, such as nested containers or advanced cosmetic settings, are not restructured by default.
For both Divi 4 and Divi 5 pages, Respira avoids wholesale reformatting. It works surgically on content and selected settings to keep layouts stable.
Recommended operating procedure
Use this checklist to keep Divi 5 work safe:
-
Work on staging first
- Clone your production site to a staging environment.
- Connect Respira to staging while you map and test your Divi 5 migration.
-
Audit your pages
- Identify which pages are pure Divi 4, pure Divi 5, and mixed.
- Prioritize high-traffic and template-based pages for extra review.
-
Limit edits on mixed pages
- For pages with both
divi/*blocks andet_pb_*shortcodes, avoid large structural changes. - Focus on text and minor attribute updates until you complete migration.
- For pages with both
-
Validate before going live
- After Respira edits, open each key page with Divi’s own editor.
- Load the page on the front end to confirm layout, modules, and performance look correct.
- Only then mirror changes to production.
FAQ
No. Divi’s Migrator performs conversion from Divi 4 shortcode layouts to Divi 5 blocks.
Respira helps you plan and validate your Divi 5 migration. Divi’s Migrator performs the actual conversion.
Use Respira to:
- Audit which pages are Divi 4, Divi 5, or mixed.
- Clean up content and structure on Divi 4 layouts before migration.
- Validate Divi 5 pages after they are converted.
Related links
Use these resources to plan and execute your Divi 5 rollout with Respira:
Divi 5 Simplified Settings (v5.5.3+)
All divi/* modules accept a settings object with shorthand keys. Respira maps them to Divi 5's deep nested attribute paths automatically — no need to construct paths like module.decoration.bodyFont.body.font.color.desktop.value.
Content keys
| Key | Maps to | Used by |
|---|---|---|
content | Module body text/HTML | text, code, blurb, cta, accordion-item |
title / heading | Heading text | heading, blurb, cta, counter, pricing-table |
body | Body text | blurb, cta |
button_text | Button label | button, cta, pricing-table |
button_url | Button link URL | button, cta, pricing-table |
src | Image source URL | image, video |
alt | Image alt text | image |
url | Link URL | image, blurb |
admin_label | Editor panel label | all modules |
author | Author name | testimonial |
job_title | Job title | testimonial |
company_name | Company name | testimonial |
portrait_url | Portrait image | testimonial |
number | Counter value | counter |
subtitle | Subtitle text | pricing-table |
currency | Currency symbol | pricing-table |
per | Billing period text | pricing-table |
sum | Price amount | pricing-table |
Styling keys
| Key | Description | Example value |
|---|---|---|
background_color | Module background | "#1a1a2e" |
background_image | Background image URL | "https://..." |
text_color / font_color | Body text color | "#333333" |
font_family | Font family name | "Inter", "Open Sans" |
font_size | Font size | "18px", "1.2rem" |
font_weight | Font weight | "bold", "600" |
text_alignment / text_orientation | Text alignment | "left", "center", "right" |
padding | CSS padding shorthand | "40px 30px 40px 30px" |
margin | CSS margin shorthand | "0px 0px 20px 0px" |
heading_color | Title/heading font color | "#ffffff" |
heading_font | Title/heading font family | "Playfair Display" |
heading_font_size | Title/heading font size | "48px" |
header_level / tag | Heading level (divi/heading) | "h1" – "h6" |
button_color | Button text color | "#ffffff" |
button_bg_color | Button background color | "#4f46e5" |
button_border_color | Button border color | "#4f46e5" |
column_structure | Row column widths (N_24 system) | "12_24,12_24" |
Examples
Styled heading:
{
"type": "divi/heading",
"settings": {
"title": "Welcome to Our Site",
"tag": "h1",
"heading_color": "#ffffff",
"heading_font": "Inter",
"heading_font_size": "48px",
"text_alignment": "center",
"background_color": "#1a1a2e",
"padding": "60px 40px 60px 40px"
}
}
Hero section with background:
{
"type": "divi/section",
"settings": {
"background_color": "#0f172a",
"padding": "100px 0px 100px 0px"
},
"children": [{
"type": "divi/row",
"settings": {"column_structure": "24_24"},
"children": [{
"type": "divi/column",
"children": [
{"type": "divi/heading", "settings": {"title": "Build Faster", "tag": "h1", "heading_color": "#ffffff", "heading_font_size": "56px", "text_alignment": "center"}},
{"type": "divi/text", "settings": {"content": "<p>Ship your WordPress site with AI-powered tools.</p>", "text_color": "#94a3b8", "font_size": "20px", "text_alignment": "center"}},
{"type": "divi/button", "settings": {"button_text": "Get Started", "button_url": "/pricing", "button_bg_color": "#4f46e5", "button_color": "#ffffff"}}
]
}]
}]
}
Two-column feature row:
{
"type": "divi/row",
"settings": {"column_structure": "12_24,12_24"},
"children": [
{"type": "divi/column", "children": [{"type": "divi/blurb", "settings": {"title": "Fast Setup", "content": "<p>Connect in under 2 minutes.</p>", "heading_color": "#1e293b", "text_color": "#64748b"}}]},
{"type": "divi/column", "children": [{"type": "divi/blurb", "settings": {"title": "Secure by Default", "content": "<p>API keys, snapshots, governance.</p>", "heading_color": "#1e293b", "text_color": "#64748b"}}]}
]
}
You can mix simplified
settingswith rawattributesin the same node. Settings are applied first, then any explicitattributesoverride them. Useattributesfor Divi 5-specific features not covered by the simplified keys.
v5.2.0 Elemental — New Capabilities
Divi 5 Intelligence Module
Respira now includes comprehensive Divi 5 intelligence:
40+ Module Definitions — Every Divi 5 module with full attribute schemas, self-closing vs container flags, and key attributes.
7 Page Patterns — Real-world layout templates:
- Single-column centred content row
- Three-feature card row
- Hero section two-column
- Testimonials pattern
- CTA section
- Stats bar
- Animated background orbs
Design Token System — Variable references for colors and fonts using Divi 5's $variable() syntax. Global colors and global variables are fully supported.
Flex Fraction System — flexColumnStructure with N_24 fractions (24_24=100%, 12_24=50%, 8_24=33.3%, etc.).
13-Point Payload Validation
Before saving Divi 5 content, Respira validates:
- Root structure (
context: "et_builder") - Data format (single key, string value)
- Placeholder wrapper present
- Section → Row → Column hierarchy enforced
- Module placement (must be inside column)
builderVersionon every module- Self-closing syntax (space + slash)
- Matching close tags on containers
- flexColumnStructure matches actual column count
- Heading title is plain text (no HTML)
- Button uses
linkUrl/linkTarget(not Divi 4 names) - Variable references include
settings: {} - Spacing sync uses string values ("on"/"off")
16 actionable error messages guide AI agents to fix common mistakes.
Support Level
Divi 5 has Full Intelligence support — the highest tier alongside Elementor.
Last updated today
Built with Documentation.AI