Trigger modal

I’m using the WordPress plugin. I’ve created a modal that I want to appear when the user lands on my site. I see nothing that makes that happen. I’ve tried adding the Javascript to the site header and that triggers nothing. How do I make this work?

I moved the code from header to footer and it wrks.

2 Likes