Support » Plugin: Popup Maker - Popup for opt-ins, lead gen, & more » Close after link click

  • Resolved Joe


    I imaging that this has been asked before, but I am unable to locate the solution.

    My pop up contains a couple of Call to Actions with links. How can I set it so the popup closes when any of the links are clicked by the visitor?

Viewing 9 replies - 1 through 9 (of 9 total)
  • @joeeible

    Wouldn’t the link just take the user to a different page? Closing the popup wouldn’t matter at that point.

    Creating a Close Button using the Shortcode Button and then inputting the <a href="link">Link</a> into the content field should work, though.

    Hope that helps!

    I was having the same problem

    Thanks for the help!

    • This reply was modified 4 years, 7 months ago by epidemik89.
    Thread Starter Joe


    Hi @waltmesser

    The links are taking the user off-site so the preference was to have it close automatically.

    I attempted the short code, it opens the link but does not close.
    [popup_close tag="a" do_default="1"]<a href="link" target="_blank">Test</a>[/popup_close]

    Next I attempted the “Close after 10 seconds…” logic, no luck there either.

    @joeeible @epidemik89

    I’m confused. If the link is taking the user offsite, why do you have to close the popup?

    Also, I would use the “span” tag as well. I’m not sure how it’s linking anywhere – the code you put above doesn’t have a link in the href – so fixing that may fix the issue as well.

    Hope that helps!

    Thread Starter Joe



    Link targets new window/tab. (target=”_blank”) Closing the pop up is cleaner to me; I removed the live url from the comment above, so there is no issue there (I’m sure the link is working).

    If it can’t be done it’s not a deal-breaker, just a disappointment. Otherwise a nice plugin, thank you for the time and effort you put into maintaining it.

    • This reply was modified 4 years, 7 months ago by Joe.


    Thanks for the clarification, did you change the tag to “span” and see if that made a difference?

    Thread Starter Joe


    Hi @waltesser,

    Yes, Span closes window, doesn’t open link.


    Sorry that didn’t work. I’ll have our Lead Dev @danieliser take a look as soon as possible.

    Thank you for being patient.

    Plugin Author Daniel Iser


    @joeeible – Simply use raw html <a target="_blank" href="#" class="popmake-close pum-close" data-do-default="true">Link Text</a>

    Hope that helps.

    • This reply was modified 4 years, 6 months ago by Daniel Iser.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Close after link click’ is closed to new replies.