Minify on a Per Page Basis
-
So if I’m to understand correctly, choosing a particular page instead of ‘All Templates’ just means that if i chose this_file.js on ‘Contact’ page, it wont be minified on the ‘Home’ page? It will only be minified on the ‘Contact’ page? I thought it meant that ‘this_file.js’ will only be loaded on the ‘Contact’ page. Even if i do
if(is_page('contact)){only enqueue this_file.js}
, I cant exclude this_file.js from loading on every other page?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Minify on a Per Page Basis’ is closed to new replies.