How to Remove Emoji Styles & Scripts in WordPress

WpFASTER Code 8 Comments

WordPress 4.2 + has added Emoji to the WordPress core. If you do not want or need Emoji it is best to remove/dequeue Emoji styles and scripts for better performance (less JavaScript and CSS = a good thing!). To remove Emoji from your WordPress site, copy and paste this code snippet -- in plain text -- to your functions.php file, or, add ...

How to Remove comment-reply.min.js File in WordPress

WpFASTER Code 2 Comments

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 ...

Eliminate Render Blocking CSS in Above-the-Fold Content

WpFASTER Blog 1 Comment

  In this lecture from The Official WpFASTER.org WP Speed Optimization Master Course, learn how to Eliminate Render Blocking CSS in Above-the-Fold Content. ***FOR A LIMITED TIME*** GET THE ENTIRE COURSE FOR 87% OFF THROUGH THIS LINK.   What will you get with our course? Over 55 lectures and 7 hours of content! 30-day money back satisfaction guarantee. The most …

How to Remove Query Strings From Static Resources Without a Plugin

WpFASTER Code 4 Comments

As a general performance rule, the less plugins you use the better. So, use this code snippet to remove query strings from static resources instead. 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 remove_cssjs_ver( $src ) { if( strpos( $src, '?ver=' ) ) $src ...

Make Your WordPress Sites Some of the Fastest In The World

AJ @ WpFASTER Blog Leave a Comment

…2 seconds… ou may have heard it said that this is the amount of time you have to get your content in front of the eyes of your website’s visitors before they start to bounce, or before you begin to lose money. While this 2 second figure is indeed true, it doesn’t actually tell the whole story. Website speed is not a …

Code to Extend the Functionality of Autoptimize

WpFASTER Code Leave a Comment

Additional wonderful good time happiness snippets to extend Autoptimize’s functionality. WARNING: This is at least intermediate stuff. If you don’t know what should be done with these simply by looking at them, wait until you’re a little more versed with code.