Title: How to Remove render-blocking JavaScript
Last modified: May 17, 2018

---

# How to Remove render-blocking JavaScript

 *  [mahi8900](https://wordpress.org/support/users/mahi8900/)
 * (@mahi8900)
 * [8 years ago](https://wordpress.org/support/topic/how-to-remove-render-blocking-javascript/)
 * [https://www.niftytrader.in/wp-content/cache/minify/07c59.js](https://www.niftytrader.in/wp-content/cache/minify/07c59.js)
   
   [https://www.niftytrader.in/wp-content/cache/minify/df983.js](https://www.niftytrader.in/wp-content/cache/minify/df983.js)
    -  This topic was modified 8 years ago by [mahi8900](https://wordpress.org/support/users/mahi8900/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-remove-render-blocking-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Fist Full of Crisco](https://wordpress.org/support/users/fistfullofcrisco/)
 * (@fistfullofcrisco)
 * [8 years ago](https://wordpress.org/support/topic/how-to-remove-render-blocking-javascript/#post-10292651)
 * More than likely it is due to jQuery refusing to be placed in the footer…assuming
   you’ve told w3tc to put your js files into your footer.
 * If you’re comfy looking at code you can place this inside your theme’s `functions.
   php` file which tells wp to move jquery to the footer:
 *     ```
       function my_scripts()
       {
         // Move jQuery to the footer (jQuery depends on jquery-core and jquery migrate)
         wp_scripts()->add_data( 'jquery', 'group', 1 );
         wp_scripts()->add_data( 'jquery-core', 'group', 1 );
         @wp_scripts()->add_data( 'jquery-migrate', 'group', 1 );
       }
       add_action( 'wp_enqueue_scripts', 'my_scripts', 99 );
       ```
   
    -  This reply was modified 8 years ago by [Fist Full of Crisco](https://wordpress.org/support/users/fistfullofcrisco/).

Viewing 1 replies (of 1 total)

The topic ‘How to Remove render-blocking JavaScript’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fist Full of Crisco](https://wordpress.org/support/users/fistfullofcrisco/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/how-to-remove-render-blocking-javascript/#post-10292651)
 * Status: not resolved