跳到内容

Recursive Shortcode

v1.0.1

kgitthoene · 2020年8月13日 上架

Allows to use shortcodes that include shortcodes, and so on.

正在使用
10+
评分
暂无
累计下载
1,116
最近更新
2020年8月14日
需要 WordPress 4.0+已测试到 4.0.38

贡献者

截图

Single nested, shortcode.
Single nested, shortcode.
Double nested, shortcode.
Double nested, 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.

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. icon is from plugin 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.

Further Information

Please read the README.md of this project.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums