PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, January 27, 2022

[FIXED] How to call Wordpress Elementor Popup from Code

 January 27, 2022     elementor, popup, wordpress     No comments   

Issue

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


Solution

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.



Answered By - Igor Aleksic
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing