Not allowing comments on your WordPress site? Using Disqus? You might want to get rid of the “/wp-includes/js/comment-reply.min.js” file from WordPress then (less JavaScript = a more performant site!). To do so, copy and paste this code snippet — in plain text — to your functions.php file, or, add it with a plugin like Code Snippets.
function clean_header(){ wp_deregister_script( 'comment-reply' ); } add_action('init','clean_header');
RECENT POSTS
Comments 3
it’s good, and i’m using this trick and work in my web and my web very fast load
Thanks for sharing this so interesting post! I really want to be thankful for the way you have put it here.
Awesome. I removed it successfully by adding above code in child theme function.php file.
Validated using webpagetest tool also now Its completely removed.