July 12, 2019 at 8:22 pm #6879
I’m trying to use the “shortcode enclosed content” parameter but am having trouble with it. What is the correct tag to close the shortcode? Am I understanding this parameter correctly?
[sc name="example"]This is shortcode enclosed content.[/shortcode]
Thank you for your help.July 12, 2019 at 9:27 pm #6880Aakash ChakravarthyKeymaster
You are almost correct. You have to close the shortcode with
Something like below
[sc name="example"]This is shortcode enclosed content.[/sc]
AakashJuly 12, 2019 at 10:05 pm #6882
Thank you for your help! I am now experiencing a second issue. When I use a shortcode with enclosed content on the same page as another Shortcoder shortcode, the shortcode with enclosed content does not display. Is there an easy way to fix this?
[sc name="example2"]This is shortcode enclosed content[/sc]
Example1 text.July 12, 2019 at 10:45 pm #6885
I just realized that I can fix this by adding
[/sc]to the other shortcodes on the page, which is a workable solution for me. Thank you.July 12, 2019 at 11:01 pm #6886Aakash ChakravarthyKeymaster
Yes Tom, Thats a limitation with WordPress shortcode itself.
- You must be logged in to reply to this topic.