Jazzy Forms
Shortcodes in Free HTML not evaluated (4 posts)

  1. superpotion
    Posted 3 years ago #

    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


  2. brookevmf
    Posted 3 years 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...)

    Thanks so much!

  3. superpotion
    Posted 3 years ago #

    Edit file front/ctrl-shortcode.php, change the line 16

    from: return $output;

    to: return do_shortcode($output);


  4. brookevmf
    Posted 3 years ago #

    Hooray. Thank you for speaking my language, Denis. It's working just fine now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jazzy Forms
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic