Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119548

Dawa1 on "How to get short code using plugin to work on my sites mega menu?"

$
0
0

So I was able to figure out with some google-fu that there is a special code in WordPress as so, echo do_shortcode('[iscorrect]'.$text_to_be_wrapped_in_shortcode.'[/iscorrect]');
Found at Function Reference/do shortcode and this seems to be what I am looking for.

I have it working for just a single short code, but I am trying to get it to work with the closing option as well (what I have above). How can I put HTML into this?


Viewing all articles
Browse latest Browse all 119548

Trending Articles