[Plugin: Post Snippets] How to add shortcode with content
-
Hello,
How can I add a post snippet that would output a shortcode with the default content and closing tag, like so:
[quote by="" from=""] Please type the actual quote here. [/quote]If I create a post snippet with 2 parameters, then it only outputs
[quote by="" from=""]without a closing tag.I’ve tried adding the whole string
[quote by="{by}" from="{from}"] Please type the actual quote here. [/quote]to the Snippet field in the admin, but it still only outputs[quote by="" from=""].How can I add the whole shortcode with a default content and closing tag.
Many thanks,
Dasha
The topic ‘[Plugin: Post Snippets] How to add shortcode with content’ is closed to new replies.