What I want to do is to show an email sign-up pop up when a link is clicked.
This is how I am referencing to the external sumome.php file, which contains the js function:
This is what I am writing for the link:
But for some reason it’s not working. My questions are:
the sumome.js file is a WordPress plugin’s .php file, so should I reference to sumome.php file?
Am I putting the
...tags in the right place?
sumome.js file is a .php WordPress plugin file. When the page loads, the pop up appears. I am wanting this pop up to appear when a link is clicked
You can access the plugin sumome.js file here
You can see where I referencing the file and putting the link here
Read more here: Pop up should open when link is clicked