Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to call Wordpress Elementor Popup from Code

I want to call an Elementor Popup from custom code (HTML, CSS, Javascript). Does anyone know how to do that? Thanks in advance!

like image 321
tollube Avatar asked Oct 26 '25 08:10

tollube


1 Answers

Here's how to call the popup via javascript:

$(document).ready(function(){
    elementorProFrontend.modules.popup.showPopup( {id:2041}, event);   
});

Make sure to replace the id with yours.

like image 170
Igor Aleksic Avatar answered Oct 29 '25 07:10

Igor Aleksic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!