Optimizing WordPress with WP Optimize

WordPress is an extensive CMS, but some of the options it adds are hardly used. WP Optimize allows  to optimize WordPress on aspects not considered in most caching plugins. Think of factors such as the removal of XML-RPC, deferring JavaScripts and LazyLoading.

Installing WP Optimize

WP Optimize can be installed by including the script in the project where you want to use it. You can also include it using composer.

Within the script, you have to pass an array of configurations to specify which optimizations you want to implement.

The WP Optimize script is very useful if you are a nitpicker and want to optimize a WordPress website to great lenghts, and achieve a Pagespeed score of 100.

The WP Optimize Script should be handled with care, as it can break websites. Optimizing WordPress can be overdone! It can also limit functionalities used by plugins.

Documentation on the installation and usage of WP Optimize can be found on Github.

WP Optimize supports the following optimizations:

  • Blocking External HTTP Requests
  • Deferring the load of CSS
  • Deferring the load of JavaScript
  • Disabling Comments, Emoji Scripts, Feeds, jQuery, jQuery Migrate, the Rest API, RSD Links, Shortlinks, Version Numbers, the WLW Manifest, the WP Version and XMLRPC
  • Moving the jQuery script to the footer
  • Lazyloading of images
  • Limiting the Javascript for Comments and removing comments styling
  • Slowing down or removing the Heartbeat script
  • Limiting the number of revisions

Our Free WordPress Script Collection

During the years, we found out that we were repeating the same code over and over in our WordPress development projects. The obvious thought came in mind: Why don’t we store these pieces of code in reusable scripts on GitHub?

But we could just distribute them as free WordPress scripts! And so it happened, our repository was born. These are all free premium WordPress scripts. Have fun developing!

WP Optimize: Optimize WordPress 1

WP Components is a collection of common WordPress components used in websites, such as breadcrumbs or buttons.

WP Custom Fields is a kick-ass framework for custom customizer, options pages and post, taxonomy or user metabox fields.

WP Enqueue is a script for enqueuing WordPress scripts and styles easily.

WP Optimize allows to implement basic optimizations to a WordPress installation by the removal of redundant code.

WP Register is a script that allows to easily register custom posts, taxonomies, sidebars, menus and widgets.

WP Updater is a script to update a theme or plugin through an external repository.

WP Router is a WordPress script that enables a developer to add custom routes and link these to custom templates.

WP Config is a class which can be used to store, add or modify configurations for a theme or plugin.

WP Autoload shows how one can use autoloading with WordPress.