
內容簡介
此外掛可讓您將短代碼用作其他短代碼的屬性,短代碼內含另一個短代碼,且支援動態短代碼。
如何使用
使用此短代碼建立動態短代碼
[dy_shortcode sc=”” at=””][/dy_shortcode]
例如使用另一個短代碼製作具有動態 ID 的圖庫
最後合併的動態短代碼
[dy_shortcode sc=”gallery” at=”id”][custom id=”123″][/dy_shortcode]
只有 1 個屬性可以是動態的,若有多個短代碼輸入,請使用逗號 (,) 分隔
[dy_shortcode sc=”gallery” at=”id”][custom id=”123″],[custom id=”321″],[custom id=”231″][/dy_shortcode]
所有其他靜態屬性均可放置在最終的短代碼中
[dy_shortcode sc=”gallery” at=”id” size=”medium” background=”white”][custom id=”123″][/dy_shortcode]
外掛標籤
開發者團隊
原文外掛簡介
A small plugin which allows you to use shortcodes as the attribute of other shortcode, shortcode inside shortcode, dynamic shortcode.
How to use
Use this shortcode to make dynamic shortcodes
[dy_shortcode sc=”” at=””][/dy_shortcode]
For example making a gallery with dynamic id by another shortcode
Final dynamic shortcode merged
[dy_shortcode sc=”gallery” at=”id”][custom id=”123″][/dy_shortcode]
Only 1 attribute can be dynamic, use comma (,) for multiple shortcode entries
[dy_shortcode sc=”gallery” at=”id”][custom id=”123″],[custom id=”321″],[custom id=”231″][/dy_shortcode]
All other static attributes can be placed on the final shortcode
[dy_shortcode sc=”gallery” at=”id” size=”medium” background=”white”][custom id=”123″][/dy_shortcode]
















