Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Load Scripts and Styles only on Pages with a Gallery

$
0
0

Replies: 0

I have only one page on my website that I need to use the gallery, but the scripts and stylesheets for the plugin load on every single page causing page speed issues. This shouldn’t happen. Can there be a function to have the scripts and styles load only on pages where the gallery short code is used?


Viewing all articles
Browse latest Browse all 59525

Trending Articles