前言介紹
- 這款 WordPress 外掛「Dynamic Shortcode」是 2020-03-10 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2020-04-24,距離現在已有 1836 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.5 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
web2webs |
外掛標籤
nested | shortcodes | nested shortcode | dynamic shortcode | shortcode inside shortcode |
內容簡介
此外掛可讓您將短代碼用作其他短代碼的屬性,短代碼內含另一個短代碼,且支援動態短代碼。
如何使用
使用此短代碼建立動態短代碼
[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]
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dynamic Shortcode」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Nested image caption shortcode 》核心的 img_caption_shortcode() 函數不會處理標題中的短代碼(只能處理圖片中的短代碼)。這個簡單的外掛修改了這點,讓標題可以包含短代碼。, 它還修復了原...。