Optimization: Only load on specific pages
-
It would be more efficient on bandwidth, if we had an option to select which page(s) we want the plugin to be active.
Also, it is good practice to load scripts in the footer instead of the header: wp_enqueue_script(“scap.soundmanager2-js”, “…/soundmanager2-nodebug-jsmin.js”, [], null, true);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Optimization: Only load on specific pages’ is closed to new replies.