Reply To: How to disable popup exit on click function

Home Forums Quform WordPress How to disable popup exit on click function Reply To: How to disable popup exit on click function

#32341
galaxyto
Participant

Here’s the code that I have in the functions.php to activate the popup


add_action('wp_footer', function () {
    if (!class_exists('Quform')) {
        return;
    }
    echo do_shortcode('[quform_popup id="10"]');
        ?>
<script>
jQuery(function ($) {
    $('#menu-item-31558').click(function () {
        $('.quform-popup-link-10').click();
        return false;
    });
});
</script>
  • This reply was modified 3 years, 4 months ago by galaxyto.
  • This reply was modified 3 years, 4 months ago by galaxyto.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy