Call custom.js child theme file once jQuery lib has been loaded
-
Hello,
I am using the plugin ‘ilightbox’. I have bene on the developers website and have established i need to load custom script 5 shown at the below URL:
https://www.ilightbox.net/faq.htmlI have a child theme which has a custom.js file. I can get the file to load but the script errors with the following:
.iLightBox is not a function
I have tried to contact the developer but not getting any response. Someone suggested it was because the custom.js theme was being loaded before the jQuery lib or the ilightbox plugin files.
Can someone tell me how to load my custom.js file at the correct place or even last ? At least then i can identify if the actual script is the issue or the loading of my file is.
Website URL is below if required:
https://www.complete-models.com/uncategorized/16-alien-figure/
- The topic ‘Call custom.js child theme file once jQuery lib has been loaded’ is closed to new replies.