FirebatHero
Forum Replies Created
-
Hello, I was using a solution to close popups from this topic : https://ww.wp.xz.cn/support/topic/close-popup-if-another-is-opened/
I wanted the popup to NOT show with a specific url parameter , works great on Android/PC but it doesn’t seem to work on iPhone ( the popup never appears, even without the parameter) . I have removed it for now, that’s why it’s working at the moment.
. This is the code I used :
// Create urlParams query string const urlParams = new URLSearchParams(window.location.search); // Get value of single parameter const redir = urlParams.get('redir'); if (redir == "p"){ function popupaoc_popup_befoer_open(target, options, data_opts){ Custombox.modal.closeAll(); } }- This reply was modified 2 years, 10 months ago by FirebatHero.
- This reply was modified 2 years, 10 months ago by FirebatHero.
- This reply was modified 2 years, 10 months ago by FirebatHero.
- This reply was modified 2 years, 10 months ago by FirebatHero.
- This reply was modified 2 years, 10 months ago by FirebatHero.
Hello, thank you for the reply. Sorry, the URL would be https://www.mercapital.ec/es/inicio/ , there is a full screen popup with 2 buttons. It is set up on front page.
popup screenshot:
https://drive.google.com/file/d/1EVKD8kOocT03lBvh5QVjltt91PhXjWCP/view?usp=sharing
Setting screenshot:
https://drive.google.com/file/d/1YZV81YWaT5QUM5nVjnaolQOt1AvU3GH5/view?usp=sharing
- This reply was modified 2 years, 11 months ago by FirebatHero.
- This reply was modified 2 years, 11 months ago by FirebatHero.
- This reply was modified 2 years, 11 months ago by FirebatHero.
Forum: Plugins
In reply to: [Gift upon purchase for WooCommerce] Remove button when no giftsThanks for the quick answer! Hope to see the new changes soon!
Forum: Plugins
In reply to: [Page scroll to id] Full page scrolling with mousewheel.Hey jaja, to assign scripts to different pages you can use the
CSS & Javascript Toolbox plugin.