• Resolved blauweogen

    (@blauweogen)


    I see a number of people wanting to stop the button link from opening in a new tab/window. This is what worked for me, although it will be erased if I update:

    in page_template php file on line 89, change “_blank” to “_self”

    <button type='button' data-mode='button' onclick='window.open("<?php echo fca_lpc_redirect_url($meta, $post, 'button') ?>","_self")' class='fca-lpc-input-element' id='fca-lpc-optin-button' style='color:<?php echo $button_color ?>; background-color:<?php echo $meta['button_color'] ?>; border-bottom-color:<?php echo $meta['button_border_color'] ?>'><?php echo $meta['button_copy'] ?></button>

Viewing 1 replies (of 1 total)
  • Plugin Author fatcatapps

    (@fatcatapps)

    Hello,

    Thanks so much for providing that info for our users.

    This is defintly something we get a lot of requests for. So I think you can expect to see a feature for this in the next update. I can’t say when that will be as we are working on some of our other plugins first.

    So hopefully this helps out others in the meantime. Thanks again. I am going to mark this resolved, so we don’t have open tickets though.

Viewing 1 replies (of 1 total)
  • The topic ‘How to open page in same tab on button click’ is closed to new replies.