WordPress.org

Ready to get started?Download WordPress

Forums

Modal Dialog
Do Shortcode (5 posts)

  1. Antonie Potgieter
    Member
    Posted 3 years ago #

    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/

  2. Yannick Lefebvre
    Member
    Plugin Author

    Posted 3 years ago #

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

  3. natostanco
    Member
    Posted 2 years ago #

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

  4. Yannick Lefebvre
    Member
    Plugin Author

    Posted 2 years ago #

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

  5. pey22
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic