Currently browsing WordPress

Tutorials, tips, and code snippets for WordPress developers and site owners. Covers theme and plugin development, PHP customizations, performance tuning, and practical fixes for common WordPress challenges. Everything you need to build faster, cleaner, and more maintainable WordPress sites.

How to Lazy Load Google Map Iframe Embed in WordPress

If you embed a Google Map iframe on your WordPress website, you may notice an increase in the total webpage…

WP Send

WP Send is the simplest way to send your files around the world. Share large files with configurable filesizes and…

How to Build a Multi-User Image Gallery in WordPress: A Comprehensive Guide

So, you want to build a specialized online platform designed for artists, particularly those in the fields of digital art,…

How to build a block editor sidebar using vanilla JavaScript

This article will explain how I moved away from the True Metabox plugin and coded my own sidebar for a…

20 essential steps in payment gateway testing for your WordPress plugin store

We have recently updated the user interface for our WordPress plugin store. We have also updated the customer experience with…

How to remove spam users and prevent spam registrations

A client of mine had an old website that grew uncontrollably large with thousands of spam registrations, spam posts, spam…

How to allow subsite administrators to edit users in a WordPress Multisite Network

WordPress Multisite is a powerful feature that allows me to manage multiple WordPress websites (or subsites) from a single installation.…

How to disable and remove old post revisions in WordPress (including multisite)

If you don't want to use a plugin to clean up your WordPress website and insist on custom coding it,…

How to add a Media Manager button to a block editor metabox

How to add a "Manage Media" (remember "Add Media"?) button to any post type and allow users to attach images,…

How to get all videos from a YouTube channel using PHP and JavaScript

The code below works with multiple channels. First, we need to loop through all channels and get all videos. The…

How Lighthouse Analytics Stores Data Without Slowing Down Your WordPress Database

I have released a new version of the Analytics module in Lighthouse. This version focuses entirely on data storage, data…

How I tackled WordPress registration spam

For a while now, I have been using Mika’s Ban Hammer plugin with a custom list of blacklisted domain names…

Tracking pageviews, sessions and unique users in WordPress using Lighthouse Analytics

For almost 2 years, I’ve been tracking WordPress visits using the Analytics module in Lighthouse. I’ve gradually removed Google Analytics…

How to code a website security audit using PHP and WordPress

This tutorial will teach you how to build a website security audit in the form of a WordPress plugin. We…

A Detailed Page Builder Comparison of Elementor, WPBakery and the Native WordPress Block Editor

This article is aimed at several of my clients, pondering which theme to use. There are countless comparisons out there,…

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 Lighthouse Analytics Was Built Differently)

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

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…

WordPress Security X

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

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…

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

The Ultimate Pre-Launch Pre-Flight Checklist for Your New WordPress Website

This article is split into 2 parts, and we’ll assume you’re launching anything but a blog. You will learn how…

WordPress “Plugin Manager” Hack

Here’s another hack that targets WordPress admin users using brute force password cracking. In other words, if your WordPress administration…

About WordPress Forks, b2, b3 and Future Projects

A lightweight CMS, based on WordPress pre-5.0, with no bloated code, no external resources, no extra JavaScript libraries, no JavaScript…

WordPress Tutorials

Our WordPress tutorials allow you to extend the power of WordPress. Our step by step WordPress tutorials are easy to…

Page 2/212