Home Plugins recursive shortcode
Recursive Shortcode logo

Recursive Shortcode

by kgitthoene on WordPress.org

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

(0)
Single nested, shortcode.

Single 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.

Active installations0+
Weekly downloads
13-38.10%
Version1.0.1
Last updated8/14/2020
WordPress version4.0
Tested up to4.0.38
Tags
recursiveshortcode