Automating Domain Redirects with Cloudflare’s API: A Practical Tutorial

In today’s digital landscape, managing multiple domains is a common scenario for businesses and developers alike. Whether you’re consolidating websites, rebranding, or redirecting traffic from parked domains, doing this manually through a control panel can be tedious and error-prone, especially when dealing with dozens or hundreds of domains. This tutorial shares my recent experience automating…

Details

Automating WordPress Menu Item Creation with WP CLI and ChatGPT

I demonstrate how developers can automate the process of replicating navigation menus in WordPress using WP-CLI and Bash scripting. By leveraging the power of WP-CLI for command-line control and ChatGPT for generating efficient code, developers can save time on repetitive tasks and ensure accurate menu hierarchy replication. The step-by-step guide walks through creating and running a Bash script that uses indexed arrays to maintain the correct order of parent and child menu items, providing a streamlined solution to menu management across platforms.

Details

Linux Commands I use frequently

List directories by size To list directories by size in Linux, displaying the size in human-readable units like MB or GB, the du command is used in conjunction with sort. The following command lists the sizes of subdirectories within the current directory, sorted from largest to smallest, with sizes displayed in human-readable format: Explanation: To check the size…

Details

Why and How to Decouple WordPress Post/Article Authorship from User Accounts with a ‘Team Member’ Custom Post Type

Are you facing challenges with managing author attribution on your WordPress website? Inherit a site with content created by short-sighted former employees or agency? Struggle with recognizing multiple authors per post? I built a custom plugin that seamlessly migrates your content authorship to a “Team Member” custom post type, decoupling it from the native WordPress user system. Enhance security, provide rich author profiles, and future-proof your content management workflow. Learn how to implement this solution and streamline your authorship management process.

Details

When LinkedIn Lacked an ‘Exclude Companies’ Filter, I Built My Own

As a web developer, I’m constantly reminded of the unique problem-solving abilities this profession instills in us. These skills prove invaluable not just in technical settings but in everyday challenges—like navigating the often frustrating terrain of job boards. The Job Search Conundrum Recently, as I’ve been hunting for my next full-time position, LinkedIn’s job board…

Details

Improve the content management experience for your WordPress clients with tooltips

I create bespoke WordPress websites to solve problems. These websites hopefully solve a client’s customer’s problem through the purchase of a product or service. That’s the obvious part of the job. Often neglected though is that the website backend must also be designed to solve content management issues for my clients. One of the ways…

Details