Stop slickQuiz.css and slickQuiz.js from loading on every page, especially home
-
I know that one of the drawbacks to having an easy-to-use shortcode means that your plug-in needs to “listen” to every page to see if it’s called. However, it’s really slowing down my website to have force these files to download on EVERY page if I only have the quiz running on one page.
I’ve had the same problem with bbpress and found the solution here:
https://isabelcastillo.com/remove-bbpress-css-non-forum-pagesDo you have a similar code-snippet or alternate solution I can use to only load slickQuiz the css and js on the page where I’m actually running the script?
Thanks!
L
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Stop slickQuiz.css and slickQuiz.js from loading on every page, especially home’ is closed to new replies.