Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey there grandeto,

    How are you doing today?

    I’m not really sure I understand why would you want to redirect users to the page where they are already at?

    This would just make the page load again and make your users wait for another page load when they can simply get thereby clicking outside of the popup window or on the “x” button in the top/right corner of the popup.

    Please advise,
    Bojan

    Thread Starter Mr. Grande

    (@grandeto)

    Hi Bojan,

    Sometimes ads appearing on the website are with adult content.
    So this is the reason I prefer users to click “I Confirm” or “Agree” button before continue browsing the website instead of only using “x”.
    Now I’m using your great plugin the way you suggest but think it will be useful if it has this option.

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey grandeto,

    I see what you mean, doing this with call to action button would require custom coding, there is a much simple solution that will require only custom CSS but you’d have to do this on a link in the content (you can also use custom CSS to make this look like a button), please see solution posted on WPMU DEV forum https://premium.wpmudev.org/forums/topic/popup-to-close-on-click-of-a-button#post-1025377.

    Hope this helps ??

    Cheers,
    Bojan

    Thread Starter Mr. Grande

    (@grandeto)

    Tnx Bojan! It works like a charm!

    Here’s the css I added:

    .wdpu-1624 .wdpu-close {
        visibility: hidden;
    }
    a.neki.wdpu-close {
        visibility: visible;
        position: relative;
        top: auto;
        right: auto;
        font-size: 15px;
        line-height: 1.2em;
        padding: 10px 30px;
        opacity: .9;
        margin: 0 20px 0 0;
        text-decoration: none;
        background: #488CFD;
        color: #FFFFFF;
        border-radius: 5px;
    }
    
    .wdpu-1624 .wdpu-msg p:last-child {
        margin-bottom: 10px;
    }
    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Awesome! Glad that worked ??

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to make Call to action button link to target current visited page?’ is closed to new replies.