WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. superpotion
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/jazzy-forms/

  2. brookevmf
    Member
    Posted 1 year 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!

  3. superpotion
    Member
    Posted 1 year ago #

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

    from: return $output;

    to: return do_shortcode($output);

    Denis

  4. brookevmf
    Member
    Posted 1 year 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

About this Topic