Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Nesting Shortcodes?


Go to End


2 Posts   1325 Views

Avatar
jocken

Community Member, 3 Posts

3 August 2012 at 2:46am

How can I create nesting shortcodes?

this code:

[shortcode_1]

Test

[shortcode_2]

Text 2

[/shortcode_2]

[/shortcode_1]

will produce:

Test
[shortcode_2]

Text 2

[/shortcode_2]

and not:

Test
Text 2

as I want

Avatar
zlincoln

Community Member, 3 Posts

4 March 2014 at 5:44am