Include JS/CSS Files
-
Have you guys ever thought about including your JS and CSS directly in the plugin instead of referencing external files. If you were to do that then plugins like Autoptimize https://www.ads-software.com/plugins/autoptimize/ would be able to optimize and compress your JS and CSS for optimum delivery.
A second thought would also be to change this bit of code
wp_enqueue_script( 'juicerembed', '//assets.juicer.io/embed-no-jquery.js', array('jquery'), false, false );
To enque your script down in the footer instead of in the header. This would prevent render blocking javascript from slowing down page speeds.
Would it be possible to implement these changes??
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Include JS/CSS Files’ is closed to new replies.