Shortcode Divi Library Layout for Divi 5

Shortcode Divi Library Layout for Divi 5

Details
View on WordPress

Shortcode Divi Library Layout for Divi 5 allows you to embed any Divi 5 Library layout anywhere on your site using a simple shortcode: [divi_5_layout id=”123″]

Perfect for:
* Reusing sections / modules inside other Divi layouts
* Embedding layouts in posts, pages, Custom Post Types
* Outputting Divi 5 Library templates programmatically or via other builders
* Creating dynamic, reusable components

This plugin also adds a “Shortcode” column to the Divi Library screen (et_pb_layout post type), allowing you to copy the shortcode instantly with one click.
A small “Copied!” indicator confirms successful copy to clipboard.

Key Features

  • Adds [divi_5_layout] shortcode for Divi 5 layouts
  • Works with Divi 5 (checks ET Core version before loading)
  • Safely renders the block content of library layouts
  • Properly handles CSS generated during Divi 5 module rendering
  • Adds a new Shortcode column in Divi Library admin
  • One-click copy to clipboard with visual feedback
  • Fallback rendering for preview / builder modes

Usage

Place the shortcode anywhere shortcodes are supported: [divi_5_layout id=”123″]

Parameters

  • id — (required) The Divi Library layout post ID.

Example: [divi_5_layout id=”2487″]

Details

Plugin code:
shortcode-divi-library-layout-for-divi-5
Plugin version:
1.0.0
Outdated:
No
WP version:
6.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.9
Total installations:
0
Last updated:
2026-01-15
Rating:
Times rated:
0
divi
divi-5
divi-builder
shortcode