Support » Plugin: Autoptimize » Minifying JS and Jetpack Like Button

  • Resolved Paul Skip Brown


    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 – there is a load delay but I think that’s partly an issue with the server.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens


    What does the “like button” do; display that block with the like counts on facebook/twitter/g+? Or the block underneath the article used to share?

    Paul Skip Brown


    Hi Frank, apologies I thought I’d sent another comment last night but must have closed the browser before sending. I decided the WordPress Like Button (its a WordPress blog like button in the Jetpack plugin – not the social media sharing stuff) wasn’t worth it so I switched it off. Everything seems to be running fine.

    Today’s project is W3 Total Cache for the stuff excluding minifying and linking in to a CDN. Wish me luck 🙂

    Please regard this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minifying JS and Jetpack Like Button’ is closed to new replies.