Support » Plugin: Modal Dialog » [Plugin: Modal Dialog] Do Shortcode

  • Good day,

    Thank you for a great plugin, we are recommending it to our users now.

    Is it possible to implement do_shortcode() into the “dialogtext” variable so that shortcodes can be parsed inside the dialog content?

    $output .= stripslashes(do_shortcode($options['dialogtext']));

    All the best,
    Antonie Potgieter

    http://wordpress.org/extend/plugins/modal-dialog/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    I just added this to version 2.2.2, to be released soon.

    I tried to insert a shortcode but it does not work? Am I missing something?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Did you place the shortcode somewhere within the Dialog Contents field?

    Hello Mr. Yannick Lefebove
    first your plugin is excellent!!!
    i want to display contact form in the pop up, for example :
    [contact-form-7 id=”162″ title=”contact us”] cform-7 short code
    i copy paste it like is but the form does not show up.
    i also try with do_shortcode([contact-form-7 id=”162″ title=”contact us”])

    how can i insert short code in the content???
    i have the version 2.3.5

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Modal Dialog] Do Shortcode’ is closed to new replies.