內容簡介
### 總結:
Shortcode Divi Library Layout for Divi 5 外掛讓您能夠使用簡單的短代碼在網站上的任何地方嵌入 Divi 5 圖書館版面配置,完美適用於重複使用組件、將版面嵌入文章、頁面和自訂文章類型,以及創建動態、可重複使用的元件。
### 問題與答案:
1. 外掛 Shortcode Divi Library Layout for Divi 5 可以在網站的哪些部分使用?
- 答:它可以在任何地方使用,只需使用簡單的短代碼 [divi_5_layout id="123"]。
2. 外掛 Shortcode Divi Library Layout for Divi 5 適用於哪些情況?
- 答:它非常適合重複使用部分/模組在其他 Divi 配置中,將版面嵌入文章、頁面以及自訂文章類型中,以及通過其他建造者或程式自動輸出 Divi 5 圖書館模板。
3. 如何複製 Divi 5 圖書館版面配置的短代碼?
- 答:這個外掛在 Divi 圖書館畫面 (et_pb_layout 文章類型) 中新增了一個「短代碼」欄,一次點擊即可立即複製短代碼,並通過小型「已複製!」指示符確認成功複製到剪貼板中。
外掛標籤
開發者團隊
② 後台搜尋「Shortcode Divi Library Layout for Divi 5」→ 直接安裝(推薦)
原文外掛簡介
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″]
