Minifying JS and Jetpack Like Button
-
I gave this a try this afternoon. Spent quite a few hours tinkering and have ended up having to force JS in head and look for JS only in head. Including all the usual external JS calls to Google, social media etc that got me down from 50 to 25 ‘.js’ references.
I can get down further by targeting .js files in the body but the WordPress Jetpack Like Button then stops functioning (I’m wondering whether it’s worth it) – I’ve tried excluding specific files with no success. I notice that some plugins seem to put their JS code in the body when I think it could really go in the head and be included in the minified file. Has anybody got any suggestions either re the like button or re getting the JS files I target moved to the head? Many thanks.
You can see my current functioning set up at https://skipology.com/iphone-photography-tutorial-urban-dweller/ – there is a load delay but I think that’s partly an issue with the server.
- The topic ‘Minifying JS and Jetpack Like Button’ is closed to new replies.