#1806
Profilbild von ITRO Team
ITRO Team
Keymaster

Hello!
this functionality is present in the Paid version (also LITE license): https://www.itroteam.com/wordpress-popup-plugin-marketing/guide-itro-wordpress-marketing-plugin/#shortcodes
You can easily use our shortcodes to reach your object.

However you can add the following JS to your theme custom script:

jQuery(function($){
  $('#my-anchor').click(function(){
    itro_exit_anim();
  });
});

where „my-anchor“ is the id of your html tag.
This code call the „itro_exit_anim“ function that trigger the popup closing.
We this is helpful!