Currently browsing Blog

Our blog deals with page speed optimization, page loading, web performance, WordPress tutorials, PHP code wrangling, JavaScript tutorials and code snippets. Our web insights series allow designers and developers to discover the latest and most significant stories on the web, while sipping a hot coffee.

SEO, Adjacent Posts and Session Duration

Time on site, or session duration, is the total amount of time that a user spends on a website. A small…

Missing Open Graph Images? Remove Image Hotlinking!

I have just found out that my image hotlinking solution was preventing social networks from reading my Open Graph image…

Custom WordPress Plugin Update Server

This is an automatic updater for plugins hosted outside WordPress.org. Currently, WordPress doesn’t have an easy way for plugins which…

Lighthouse Security Update: Brute-Force Login Protection

Security Update: Brute-Force Login Protection Have you heard about the latest update to the Lighthouse WordPress plugin? It just got…

Securing Your WordPress Site: A Guide to Limiting Login Attempts Without a Plugin

Brute-force login attacks pose a significant threat to the security of WordPress websites. This type of attack involves repeatedly guessing…

Why Most WordPress Analytics Plugins Get Slow (And How Active Analytics Was Built Differently)

Active Analytics has become a daily necessity, and the data is available at a glance with the most relevant information…

Fast and accessible CSS-only client logo carousel

Fast and accessible CSS-only client logo carousel. One in two sites requires some kind of client/provider logo carousel.

BOTS

Introduction This year I have coded and launched a small app (available on Google Play Store and as a PWA),…

What is an Influencer Marketing Strategy?

Influencer marketing has come along in leaps and bounds over the last few years, with the rise of social media…

Python Application SDKs For File Uploading

In this article, we will be looking at SDKs that can be used for file uploading in python applications. These…

Compress Your Images for Faster Page Speed and Better SEO

We have recently launched an image compressor aimed at web designers, web developers and bloggers in general to help optimizing…

How to Set Up a Professional Email Address With Gmail and Google Workspace (G Suite)

Need a helping hand with how to set up Google Workspace (formerly G Suite) for your website so that you can have…

WordPress Update Services: WordPress Ping List & Tutorial

Utilizing WordPress update services is your first step to faster indexing. As a mechanism that literally says “hello, I am…

Click Instead of Hover: A CSS-only “Clicky” Menu

Simple click-triggered navigation submenus. Accessible and progressively enhanced. Hover is not consistent, not accessible and inefficient.

WordPress Security X – 2025 Edition

When dealing with WordPress security, we need to start from the bottom of the stack and go up. There's usually…

WordPress SEO: How to Calculate Text Readability?

In order to evaluate the effectiveness of your writing, you can easily check the readability of your website pages. Key…

Security Headers: A Concise Guide

Security is as essential as content and SEO, and thousands of websites get compromised due to misconfiguration or lack of…

How to recover old images in WordPress

This article is about how to recover old images in WordPress that are still using obsolete or missing sizes. Let’s…

How to Use WordPress: A Developer’s Guide to Classic Themes

At its core, WordPress is a free online tool for building websites and blogs. It’s a scalable, feature-rich Content Management…

How to parse a WordPress gallery block and return image IDs

How to parse a WordPress gallery block programmatically and return all image IDs in an array using 3 lines of…

Why I removed my dark theme switcher

How I implemented a dark/light theme switcher using JavaScript and CSS for both WordPress and static websites.

Grizzy: How to create a Grid Gallery using modern CSS

Part of the CSS-Only Techniques guide. In this article, we are going to create a grid gallery using CSS only,…

Deep Dive into CSS Grid

This tutorial will dive deep into the CSS Grid Layout, exploring all major elements of Grid and almost all properties…

How to completely remove Post SMTP logged emails

How to completely remove Post SMTP logged emails and session transcripts Post SMTP is an awesome WordPress plugin, but I…

How to scrape content from Meetup.com using PHP

One of my recent projects involved creating WordPress posts from Meetup.com events. As the API is in beta state and…

WordPress: How to display nearby attractions and amenities using Yelp Nearby

This tutorial will show you how to display nearby attractions and amenities based on geographical coordinates (latitude and longitude) using…

How to create a Jetpack Site Stats Aggregator

I believe that Jetpack Site Stats doesn’t need an introduction any more. It provides basic but good insights on your…

How to Add a Block Pattern to a WordPress Theme

Here is a hands-on code snippet on how to add a block pattern (or more) to a WordPress theme. The…

Using Resource Hints to Optimize WordPress Performance

Resource hints provide a way to optimize the performance of your web page on the client side. As the name…

CSS Rounded Corners Gradient Border

Part of the CSS-Only Techniques guide. I had a visually heavy project recently and I had to create a gradient…

“Times New Roman” Enhanced CSS Font Stack

Part of the CSS-Only Techniques guide. “Times New Roman” as a Classic Web Font Option With Historical Ligatures A ligature…

How to Create Double Off-canvas Menus With CSS Only

Part of the CSS-Only Techniques guide. This feature has been part of a website project for many year. The left…

The Ultimate YouTube Video Embed Setup

Here is a loopable, no-controls, perfect-aspect-ratio YouTube video plus the styles for a perfect, full-width video embed.

WordPress External Featured Image via cURL

Here’s the long title for this code snippet — How to set up an external image as a WordPress featured…

Start an Ecommerce Store in 2021 Guide

If you have ever considered opening an e-commerce store, now is a great time to take action. In 2020, shoppers…

SpeedFactor Update: Less is More

The past few weeks have brought some long awaited updates to SpeedFactor. As I am focusing on tracking speed, some…

How to Create a Fixed Teaser Block in WordPress

This tutorial will show you how to create a collapsible fixed pop-up. It can contain subscriptions forms, contact forms, calls…

How to Create Smaller Buttons for the Block Editor (Gutenberg)

One of the shortcomings of the WordPress default button blocks is the size variation. There is none. Sometimes the buttons…

WordPress or Amazon? The Hard Choice for Beginner Sellers

When you are starting your own eCommerce business, there are many choices to make, and each one can determine your…

How to Improve Your Mobile Core Web Vitals: Quick Tip

Do you really need those fancy fonts on mobile devices? No? There’s your answer! This applies to any WordPress theme,…

On/Off Toggle Replacement for WordPress Checkboxes

When it comes to WordPress settings and admin panels, I’ve always been a fan of minimalism and default/native styling. I…

My WordPress Plugins – A Short History

Over the course of my 20 years as a PHP developer, I have developed many WordPress plugins. I don’t have…

How to add a date/time picker to Gravity Forms

Here’s a nice challenge I got the other day regarding a better date/time picker for Gravity Forms. When I say…

How to Create Your Own Image Optimization Plugin by Leveraging Jetpack’s Photon

This is a quick code tutorial detailing how to leverage Jetpack’s Photon for custom images. Not all images in your…

How to Create Your Own Website Screenshot Service by Leveraging WordPress’ mShots API Service

This is an example-based tutorial where you will learn how to create a custom post type called Site, add a…

17 Best Website Speed And Performance Testing Tools

50% of people expect a site to load in less than 2 seconds! Your site’s load time could be the…

Instant Loading in WordPress Lighthouse Plugin

If you’ve read my thoughts on instant page loading in WordPress, and are wondering which solution to go with, note…

How to Submit a Patch to WordPress Core Using TortoiseSVN and Windows 10 (for beginners)

Here’s my steps to submit a patch to WordPress code. The whole process of editing WordPress core and submitting a…

Page 3/512345