
內容簡介
使用這個工具,您可以透過簡單的短代碼在另一個模組內容或 PHP 模板中嵌入任何 Divi 圖書館項目。
您只需要在 Divi 圖書館中建立佈局、區段或模組。
項目 ID 可以在導覽到佈局編輯器並查看 URL 時找到。例如,讓我們看一下以下的 URL:
https://mywebsite.com/wp-admin/post.php?post=866&action=edit。
這裡的項目 ID 是:866。
在佈局頁面上懸停在單字「編輯」上時,ID 也會顯示在底部顯示的連結上。
一旦獲得項目 ID,只需使用短代碼 [showmodule id="866"] 呼叫它。
我製作了一個教學範例,說明如何使用它:
https://www.creaweb2b.com/en/how-to-add-a-divi-section-or-module-inside-another-module/(英文)
該外掛的高級版本提供了更多的功能,可以在以下網址購買:
https://www.creaweb2b.com/en/plugins/simple-divi-shortcode-en/(英文)
需求
此外掛需要 DIVI 或 EXTRA 佈景主題,或者 Elegant Themes 的 Divi Builder 外掛。
支援 Simple Divi Shortcode
如果您認為此外掛有幫助,請通過小小的捐款支持開發人員:
請我喝杯咖啡
致謝
Simple Divi Shortcode 創建者:Fabrice ESQUIROL – creaweb2b.com
外掛標籤
開發者團隊
原文外掛簡介
Using this tool you will be able to embed any Divi Library item inside another module content or inside a php template by using a simple shortcode.
You just need to build a layout, section or module inside the Divi library.
The shortcode can be copied from Divi Library screen (Shortcode column) or from the metabox inside the Divi builder.
Once you get shortcode copied (it looks like [showmodule id=”866″]), you can insert it inside another module content or inside a php template.
I made a tutorial explaining how to use it : “DIVI Module inside module v2” available at the following URL :
French version :
Requirements
This plugin need DIVI or EXTRA theme to work, or the Divi Builder plugin from Elegant Themes
Supporting Simple Divi Shortcode
If you found this plugin helpful, please support the developer with a small donation :
Buy me a coffee
Credit
Simple Divi Shortcode created by Fabrice ESQUIROL – creaweb2b.com
