Skip to content

Instantly share code, notes, and snippets.

@cesgarma
Created August 17, 2020 21:35
Show Gist options
  • Save cesgarma/60f0588323bdac02faa8bb5257e853ec to your computer and use it in GitHub Desktop.
Save cesgarma/60f0588323bdac02faa8bb5257e853ec to your computer and use it in GitHub Desktop.
To add a Divi popup use the plugin: https://wordpress.org/plugins/popups-for-divi/ If you want to enable to pop up to auto trigger after a certain amount of time add this to a "Code" module inside the pop-up. The #get-newsletter is the ID of the po
<script>
window.setTimeout(function(){
DiviArea.show('get-newsletter')
}, 3000);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment