I want to break a verrrrrry looooong form into a number of sections using toggled content (Accordion or Tabbed Content, etc. - I'm actually using Elegant Themes' [learn_more]...[learn_more] toggled content shortcodes inside Jazzy's 'Free HTML' elements). However, the shortcode is not evaluated and is echoed as a literal instead.
I think this is a nested shortcode problem, and the Free HTML needs to be parsed for embedded shortcodes - see http://codex.wordpress.org/Function_Reference/do_shortcode
http://wordpress.org/extend/plugins/jazzy-forms/
brookevmf
Member
Posted 4 months ago #
Can anyone help me out with this process? I'd like to add that functionality to Jazzy forms on our site, so that I can have a tooltip show up in the HTML content in the form (ie via a tooltip plugin), but I am not really a programmer. :(
So I'm wondering: Where would I add the do_shortcode??? What file in the plugin should I edit??
I really don't want to break things, but I can't seem to find enough information that allows me to do this confidently.
Related links:
http://www.sitepoint.com/wordpress-nested-shortcodes/ (sort of gives me an idea, but not quite. remember, I have no idea how to do this...)
http://codex.wordpress.org/Function_Reference/do_shortcode
Thanks so much!
Edit file front/ctrl-shortcode.php, change the line 16
from: return $output;
to: return do_shortcode($output);
Denis
brookevmf
Member
Posted 4 months ago #
Hooray. Thank you for speaking my language, Denis. It's working just fine now.