WordPress.org

Ready to get started?Download WordPress

Forums

Modal Dialog
[resolved] Not sure how to open popup with a text link (3 posts)

  1. ep12
    Member
    Posted 8 months ago #

    Hi, I read the other thread about how to open with text link but I tried using the same code and it didn't work for me. Is there any way you could clarify how to go about doing this? I just want to have some text that will trigger the popup when clicked. Thanks! :)

    https://wordpress.org/plugins/modal-dialog/

  2. Yannick Lefebvre
    Member
    Plugin Author

    Posted 8 months ago #

    What code have you tried putting in so far?

    The following should work:

    <a href="#" onclick="modal_dialog_open();" title="Learn More">Learn More</a>

  3. ep12
    Member
    Posted 8 months ago #

    This worked for me. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic