WordPress.org

Forums

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

  1. ep12
    Member
    Posted 1 year 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 1 year 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 1 year ago #

    This worked for me. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Modal Dialog
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic