=== Shortcode Divi Library Layout for Divi 5 === Contributors: sewerel Tags: divi, divi builder, divi 5, shortcode Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Adds a shortcode to render Divi 5 library layouts anywhere and a quick “Copy Shortcode” column inside the Divi Library admin. == Description == **Reuse Any Divi 5 Library Layout — Anywhere — With a Simple Shortcode.** The Divi 5 Library is great for saving layouts you want to use again. But getting one of those saved layouts to appear somewhere outside the builder isn't always straightforward. **Shortcode Divi Library Layout for Divi 5** solves that. It gives every saved Divi 5 Library layout its own shortcode, so you can drop that layout anywhere a shortcode works — inside posts, widgets, template parts, other page builders, or anywhere else you can paste a shortcode. Build it once in the Divi Library, then reuse it everywhere. It's a small, focused utility built specifically for Divi 5. = How It Works = * **Save a layout** in your Divi 5 Library as you normally would. * **Copy its shortcode** — the plugin adds a one-click "copy shortcode" column in the Divi Library admin, so you can grab the shortcode for any layout instantly. * **Paste it anywhere** shortcodes are supported. The layout renders right there. The shortcode format is simple: `[divi_5_layout id="123"]` Just replace `123` with the ID of your saved layout (and the copy button gives you the full shortcode ready to paste, so you don't have to look the ID up). = Why You'd Use It = * **Reuse layouts outside the Divi Builder** — posts, widget areas, template parts, and more. * **Keep one source of truth** — update the layout in the Divi Library once, and every place that uses its shortcode reflects the change. * **Use Divi-designed content in non-Divi places** — anywhere that accepts a shortcode can now display a Divi 5 layout. * **One-click shortcode copying** — no hunting for layout IDs. = Built for Divi 5 = This plugin is made specifically for Divi 5 and its Library system. = More Divi Tools from Powdi Themes = We're Powdi Themes — we build plugins and child themes that make designing with Divi faster and more enjoyable. If you found this handy, you might also like [Divi Design Notes](https://powdithemes.com/divi-design-notes/?utm_source=wprepository&utm_medium=readme&utm_campaign=shortcode-divi-library-layout&utm_content=mainlink) — a tool for leaving notes and feedback directly on your Divi designs, made for designers and teams who want a cleaner review process. You can explore our full range of Divi products at [powdithemes.com](https://powdithemes.com/?utm_source=wprepository&utm_medium=readme&utm_campaign=shortcode-divi-library-layout&utm_content=sitelink). == Frequently Asked Questions == = What can I use this for? = Plenty — reusing a call-to-action or pricing table across many pages, placing Divi designs in widget areas and other spots the Builder can't reach, keeping one layout as the single source of truth so editing it once updates everywhere, and more. Our full guide covers the main use cases with examples: [How to Reuse Divi 5 Library Layouts Anywhere](https://powdithemes.com/how-to-reuse-divi-5-library-layouts-anywhere-with-a-simple-shortcode/?utm_source=wprepository&utm_medium=readme&utm_campaign=shortcode-divi-library-layout&utm_content=faqlink) = Does this work with Divi 4? = No. This plugin is built specifically for Divi 5 and its Library system. = What's the shortcode format? = `[divi_5_layout id="123"]` — replace `123` with your saved layout's ID. The plugin's one-click copy button in the Divi Library gives you the ready-to-paste shortcode, so you don't need to find the ID manually. = Where can I use the shortcode? = Anywhere shortcodes are supported — posts, pages, widget areas, template parts, and many other page builders or theme areas that accept shortcodes. = How do I get the shortcode for a layout? = The plugin adds a "copy shortcode" column in your Divi Library admin. Click it next to any saved layout to copy that layout's shortcode instantly. = If I edit the layout in the Divi Library, do the shortcodes update too? = Yes. The shortcode displays whatever the saved Library layout currently contains, so updating the layout updates everywhere its shortcode appears. = Do I need Divi installed? = Yes. You need Divi 5, since the plugin works with the Divi 5 Library. == Documentation == If you have any questions about this plugin, please check the FAQ section or post a thread in the WordPress.org forum. Please search existing threads before starting a new one. == Changelog == = 1.0.0 = * Initial release * Adds `[divi_5_layout]` shortcode * Adds shortcode column in Divi Library * Adds one-click clipboard copy * Handles Divi 5 CSS capture during dynamic block rendering