You could try putting this JQuery script in your header:
jQuery(document).ready(function ($) {
// Make jQuery Work with $ instead of compatibility mode
// https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress
$('.hideable').on('click', function () {
$(this).hide();
})
// Listen for a click on a link to change display from block to none
$('#closemymodalplease').click(function () {
$('#wbounce-modal').css('display', 'none');
});
});
Then in the HTML try this link:
<a id="closemymodalplease" href="#wbounce-modal" name="closemymodalplease">Click to show the wBounce Modal</a>
Let me know if this works for you. I was able to do the reverse to show the modal on a button or link click.
Hello!
Thanks for your reply and interesting solution.
I disabled this plugin before because the popup appeared, even if the mouse cursor did move on the right side to scroll or down to click something. I could not fix this, so I integrated ouibounce directly in my theme.
Thanks anyway for your input!
Heiko