Title: Recursive Shortcode
Author: kgitthoene
Published: <strong>2020年8月13日</strong>
Last modified: 2020年8月14日

---

搜尋外掛

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

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

![](https://ps.w.org/recursive-shortcode/assets/icon-256x256.png?rev=2360324)

# Recursive Shortcode

 由[kgitthoene](https://profiles.wordpress.org/kgitthoene/)

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

 * [詳情](https://zh-hk.wordpress.org/plugins/recursive-shortcode/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/recursive-shortcode/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/recursive-shortcode/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/recursive-shortcode/#developers)

 [支援](https://wordpress.org/support/plugin/recursive-shortcode/)

## 描述

The Recursive Shortcode plugin provides the `[recursive-shortcode]` shortcode for
WordPress to use shortcodes in shortcodes (nested shortcodes).

### Documentation

Just write: `[recursive-shortcode]CONTENT[/recursive-shortcode]`

The `CONTENT` is read by the parser, found shortcodes are properly executed.

[The documentation, more examples and clues can be found on the project page.](https://github.com/kgitthoene/wordpress-plugin-recursive-shortcode/blob/master/README.md#usage)

### Example

(From the banner. See above.)

    ```
    [recursive-shortcode][icon name="[urlparam param="icon"]"][/recursive-shortcode]
    ```

First the inner shortcode (urlparam) is evaluated. The result inserted as parameter
for the icon-shortcode. `urlparam` is from plugin [URL Params](https://wordpress.org/plugins/url-params/).`
icon` is from plugin [Better Font Awesome](https://wordpress.org/plugins/better-font-awesome/).

If you open: https://yourlocation.lan/page-with-recursive-shortcode?icon=file-pdf

You’ll get the icon `file-pdf`.

### Issues

[Post your issues on the project page.](https://github.com/kgitthoene/wordpress-plugin-recursive-shortcode/issues)

### Further Information

[Please read the README.md of this project.](https://github.com/kgitthoene/wordpress-plugin-recursive-shortcode/blob/master/README.md)

## 螢幕截圖

[⌊Single nested, shortcode.⌉⌊Single nested, shortcode.⌉[

Single nested, shortcode.

[⌊Double nested, shortcode.⌉⌊Double nested, shortcode.⌉[

Double nested, shortcode.

## 安裝

#### Via WordPress Dashboard (recommended)

 1. Navigate to Dashboard – Plugins – Add New;
 2. Search for Recursive Shortcode;
 3. Click Install, then Activate.

#### Manual installation

 1. Download the plugin as a .zip file;
 2. Unzip downloaded archive and upload the recursive-shortcode folder under your /
    wp-content/plugins/ directory (resulted plugin path should be /wp-content/plugins/
    recursive-shortcode/);
 3. Navigate to Dashboard – Plugins and activate the plugin.

## 常見問題

### What does the plugin do?

It allows you to use nested schortcodes in shortcodes in a propper way.

### What is this plugin?

Basically a parser for nested shortcodes. With an analysing tool to understand the
internal evaluation hierarchy.

### Who should use it?

Everyone who wants the output of a shortcode as content or parameter of another 
shortcode.
 Simple example: Inject the output from Plugin [URL Params](https://wordpress.org/plugins/url-params/)
into [Display Posts](https://wordpress.org/plugins/display-posts-shortcode/).

### Do I need to have coding skills to use this plugin?

No, just writing shortcodes.

### How do I upgrade? Or get a paid version?

No upgrade. No payments. It’s FOSS.

### My question is not listed.

[Open an issue on the project page.](https://github.com/kgitthoene/wordpress-plugin-recursive-shortcode/issues)

## 評價

There are no reviews for this plugin.

## 貢獻者及開發者

“Recursive Shortcode” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

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

[將 Recursive Shortcode 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/recursive-shortcode)

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

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

## 修改日誌

#### 1.0.1 (2020-08-12)

 * Sanitize fields

#### 1.0.0 (2020-08-10)

 * Initial release

## 其它

 *  Version **1.0.1**
 *  Last updated **6 年之前**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/recursive-shortcode/)
 * Tag
 * [shortcode](https://zh-hk.wordpress.org/plugins/tags/shortcode/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/recursive-shortcode/advanced/)

## 評分

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/recursive-shortcode/reviews/)

## 貢獻者

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

## 支援

有話想說？需要協助？

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