PHP

WordPress Theme Image LazyLoad Tutorial With Adaptive Height Placeholders

WordPress Theme Image LazyLoad Tutorial With Adaptive Height Placeholders

Article Last Updated: 29 Dec 2020 This post uses traditional approach to achieve image lazy loading with JavaScript (and then some CSS and PHP). Since August 2019 and Chrome/Chromium 76+ (or newer) you can use browser’s built-in native lazy loading support. Still, this JavaScript solution is really robust and cross-browser compatible (including older ones in […]

Google Invisible reCaptcha – How To Boost Lighthouse Performance Score?

Google Invisible reCaptcha – How To Boost Lighthouse Performance Score?

This article is about reCaptcha v2.0 API with explicit rendering method integration — it is not intended for reCaptcha v3.0 Did you know that Google’s reCaptcha anti-spam system SLOWS DOWN all of your websites? If you don’t know what Lighthouse is check our brief introduction to Lighthouse project. Google Invisible reCaptcha + Lighthouse Performance Score […]

Matomo (Piwik) Analytics – Auto Set Ignore Visits Cookie Plugin

Matomo (Piwik) Analytics – Auto Set Ignore Visits Cookie Plugin

Article Updated: 05 Jan 2024 Matomo 5.x requires only updated version compatibility manifest line in plugin’s json file, code works perfectly well even after 4 years. Matomo 4.x requires new version compatibility specification in plugin’s JSON manifest file. Nothing is actually changed in PHP code itself for the time being (methods and classes this plugin […]