[WordPress] 外掛分享: Dynamic Shortcode

首頁外掛目錄 › Dynamic Shortcode
WordPress 外掛 Dynamic Shortcode 的封面圖片
全新外掛
安裝啟用
尚無評分
1896 天前
最後更新
問題解決
WordPress 5.4+ v1.0 上架:2021-01-07

內容簡介

動態短碼 (Dynamic Shortcode) 是一款 100% 免費的 WordPress 外掛,讓使用者能夠輕鬆地將任何短碼設定為異步載入,不會阻礙 WordPress 頁面的渲染。動態短碼具有簡單友善的介面,非常容易使用。

動態短碼可以自動替換任何給定短碼的所有出現次數(目前為測試版),也可以讓您在一個簡單的步驟中更改每個短碼:

找到您短碼的出現,將您短碼的名稱替換為 wp_dynamic,並添加一個名為 shortcode 的參數,其值為您短碼的名稱。例如:

[myShortcode]變成

[wp_dynamic shortcode=”myShortcode”]

但等等!這還不是全部:您還可以為每個個別的短碼添加自定義佔位符。當動態短碼以異步方式載入短碼時,這些佔位符會顯示。

動態短碼還擁有許多其他有用的功能。

對於您網站上的每個短碼,動態短碼提供以下功能:

自動或在單一步驟中使任何已存在的短碼異步載入

為動態短碼載入短碼時添加自定義佔位符

在進行異步呼叫時,在執行您的短碼之前運行驗證函數

選擇異步呼叫時要忽略哪些 GET 參數

選擇異步呼叫時要忽略哪些 POST 參數

選擇在進行異步呼叫時要忽略哪個短碼屬性

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dynamic Shortcode」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Dynamic Shortcode is a 100% FREE plugin that allows users to make any shortcode asynchronous in one simple step, meaning it won’t block the WordPress page render at all. Dynamic Shortcode has a simple and user friendly interface, making it extremely easy to use.

Dynamic Shortcode can either replace every occurence of a given shortcode without your intervention (currently in beta, the feature is called Dynamic Replace), or you can change every shortcode yourself in one simple step:

Find an occurence of your shortcode, and replace your shortcode’s name with wp_dynamic and add a parameter named shortcode with your shortcode’s name as a value. For example:
[myShortcode]becomes
[wp_dynamic shortcode=”myShortcode”]

But wait! That’s not all: You can even add custom placeholders for each individual shortcode. Placeholders are displayed when Dynamic Shortcode is loading a shortcode asynchronously.

Dynamic Shortcode is packed with tons of other useful features.

For each individual shortcode on your site, here’s everything Dynamic Shortcode can do for you:

Make any already existing shortcode asynchronous automatically or in a single step

Add custom placeholders for when your Dynamic Shortcode is loading your shortcode

Run a validation function before executing your shortcode when making the asynchronous call

Choose which GET parameters to ignore when doing the asynchronous call

Choose which POST parameters to ignore when doing the asynchronous call

Choose which shortcode attribute to ignore when doing the asynchronous call

延伸相關外掛

文章
Filter
Mastodon