Hi,
I was wondering if it’s possible to have a shortcode with a content. For example,
[shortcode] Here is some content of the shortcode [/shortcode]
Quite often shortcodes’ attributes are not enough and it’s required to have shortcodes with content within them.
Thanks,
Dasha
Just enter %content% as Shortcode content and in the post use the shortcode,
[sc:myshortcode content=”Here is some content of the shortcode”]
Thats all !!
Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter
By using this website, you agree to our Terms Ok