I wasn’t using the correct file paths. But I’ve got a follow up problem that I’m not quite sure about looking at the code.
What I’m trying to do is add a the SimpleModal on a custom page in wordpress.
I’ve attempted to call in the jscript to allow the SimpleModal to work in the header.php file that would then get included on the custom page indexpage.php.
So I’ve referenced them like this:
Problem is, on the custom page, I can see the image and the link is there, but when you click on it, the function isn’t executing. It’s just sitting there. Am I calling in the .js files incorrectly? Or do I need to do anything else for WP to recognize what I’m trying to do?
This reply has been reported for inappropriate content.
Cool thanks Doc.
What I ended up doing to get the SimpleModal to work was installing the Plugin for it, then just referencing that on the <a> tag on my custom file.
But I’m really worried about instances where I need to install some custom functions. If I wanted to put in a specific gallery, or other jscript function, I still don’t have any idea how to get it to work without installing the plugin (unless that IS the way to get it to work, but my understanding was you could pull in just about any kind of functionality into WP).