• How to LazyLoad images in WordPress without using a WP Plugin

    This post explains how to use the jQuery Lazy library in a WordPress template. By implementing this library into a template manually will give you greater flexibility in terms of which images can be ‘lazy loaded’. A couple of requirements are necessary before using the jQuery Lazy library: Requires at least jQuery 3.4.1 – This ...
  • Using loadCSS with WordPress

    I have been using loadCSS from the Filament Group recently, it’s a great tool to asynchronously load your CSS files in-order to increase your scores for Google’s PageSpeed tests. The main issue I faced is using loadCSS with WordPress. WordPress has many plugins to install and each of these plugins usually integrate with the hook...
  • Using Speedtest-CLI to record speed tests to CSV via CRON

    One of the most common speed testing services for Internet connections is Ookla’s Speedtest, and more often than not your ISP will either throttle your connection, or their network will slow down at peak times. Because of this, I wanted to make sure I am receiving the full connection speed which I am paying for. ...
  • Sass (SCSS) powered Linear and Radial CSS3 gradients with MS Filters

    I thought i’d share this code, it may be help anyone who wants to have some sort of backward compatibility when using CSS3 gradients with Internet Explorer 7+.   How does this work? Sass mixins and functions helps a lot with the ‘heavy-lifting’ and colour calculations. Let me explain the setup for Linear and Radial ...