Only load video lightbox plugin resources on pages that need them?
-
Hi, is there a way to only load the resources for this plugin on pages that use it, or to specify which pages not to load it on? For example a copy/paste code to go in functions.php that we can modify with conditional logic?
Right now it loads resources on the home page of a site I’m using it on, for instance. but the video is not there, and it doesn’t need to be on the home page. So it affects load time that way.
Can you help? Thanks.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Only load video lightbox plugin resources on pages that need them?’ is closed to new replies.