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 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 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…
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…
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 – 2025 Edition
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…