Title: Dynamic Shortcode
Author: FanaticPythoner
Published: <strong>2021 年 1 月 8 日</strong>
Last modified: 2021 年 1 月 8 日

---

搜尋外掛

![](https://ps.w.org/dynamic-shortcode-ajax/assets/banner-772x250.png?rev=2452258)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/dynamic-shortcode-ajax/assets/icon-128x128.jpg?rev=2452258)

# Dynamic Shortcode

 由 [FanaticPythoner](https://profiles.wordpress.org/humanai/) 開發

[下載](https://downloads.wordpress.org/plugin/dynamic-shortcode-ajax.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/dynamic-shortcode-ajax/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/dynamic-shortcode-ajax/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/dynamic-shortcode-ajax/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/dynamic-shortcode-ajax/#developers)

 [技術支援](https://wordpress.org/support/plugin/dynamic-shortcode-ajax/)

## 外掛說明

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

## 螢幕擷圖

 * [[
 * Dynamic Shortcode – Shortcodes
 * [[
 * Dynamic Shortcode – Placeholders
 * [[
 * Dynamic Shortcode – Global Settings
 * [[
 * Dynamic Shortcode – Keep It Alive
 * [[
 * Dynamic Shortcode – Notice
 * [[
 * Dynamic Shortcode – Help

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/dynamic-shortcode-ajax` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Shortcodes admin menu to configure and use the plugin

## 常見問題集

### Where is the menu located?

Go in your wp-admin page. Look at the admin menu on your left, you should see a 
tab “Shortcodes” with the Dynamic Shortcode logo.

### If I use the Dynamic Replace setting, will it break my site?

Dynamic Replace will not permanently change your html pages: it works by replacing
the shortcodes dynamically before each page load. Thus, it will not overwrite your
html pages in any way.

### Does Dynamic Shortcode sanitize, validate and/or escape my data?

Dynamic Shortcode act as a black box proxy: It takes the very state of the request
while it tries to call the original shortcode, saves it, then reload it when the
AJAX call is made to execute the original shortcode. Since Dynamic Shortcode is 
a black box proxy, it does not alter the original request in any way. While make
sure that no PHP remote code execution occur while the parameters are sent through
the Dynamic Shortcode proxy, it is your responsibility to validate, escape and sanitize
any parameter sent to your shortcode. It is also your your responsibility to make
sure that the web request is legitimate.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Dynamic Shortcode〉的開發相關工作。

參與者

 *   [ FanaticPythoner ](https://profiles.wordpress.org/humanai/)

[將〈Dynamic Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dynamic-shortcode-ajax)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/dynamic-shortcode-ajax/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/dynamic-shortcode-ajax/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/dynamic-shortcode-ajax/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/dynamic-shortcode-ajax/)。

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **5 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.6.17**
 *  語言
 * [English (US)](https://wordpress.org/plugins/dynamic-shortcode-ajax/)
 * 標籤:
 * [ajax](https://tw.wordpress.org/plugins/tags/ajax/)[async](https://tw.wordpress.org/plugins/tags/async/)
   [Dynamic](https://tw.wordpress.org/plugins/tags/dynamic/)[dynamic shortcode](https://tw.wordpress.org/plugins/tags/dynamic-shortcode/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dynamic-shortcode-ajax/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/dynamic-shortcode-ajax/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/dynamic-shortcode-ajax/reviews/)

## 參與者

 *   [ FanaticPythoner ](https://profiles.wordpress.org/humanai/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/dynamic-shortcode-ajax/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/donate?hosted_button_id=9PG7333GR22ZA)