-
WordPress update & performance 2
Remember my post about a decade-old WordPress site and its stellar performance? Here’s the second part! Can a brand-new site built with a commercial theme outperform the old one? Statistically, it’s a tight race, but the new site comes remarkably close. When starting a new project, my preference truly depends on the project’s scope, budget,…
-
Exploring _n_noop
Ever come across _n_noop() and scratched your head? You’re not alone! This function is often overlooked, probably due to its cryptic name and not engaging documentation “Registers plural strings in POT file, but does not translate them”. We’re all familiar with _n(), which flawlessly handles singular and plural translations based on a given number. But…
-
Node Version Manager for Windows
As a Senior WordPress Developer, I’m constantly juggling multiple projects, each with its own set of dependencies and quirks. Lately, one of the biggest time sinks has been wrangling package.json files to ensure compatibility with specific Node.js versions. It’s a familiar pain point for many of us: deprecated dependencies, evolving SCSS rules, followed by frustration…
-
GitHub Actions
Are you still deploying manually? It’s time to level up your development workflow! In today’s fast-paced development world, automation isn’t just a buzzword – it’s a necessity. For me, GitHub Actions have become an indispensable part of building robust, efficient, and reliable projects. If you’re not already leveraging the power of Continuous Integration/Continuous Deployment (CI/CD)…
-
Ai Prompting for all
Are you walking through the door or falling through the window when it comes to AI? The debate around AI and prompt engineering rages on, with strong arguments both for and against. But for me, it’s less about the debate and more about the inevitable reality: AI is here, and the only question that truly…
-
Page caching plugin for WordPress
WordPress Performance: Busting Myths & Finding Gold! ✨ Let’s clear the air: WordPress isn’t inherently slow. What is slow? Bad hosting, bloated themes, and a plugin jungle! And without proper page caching, any WordPress site is fighting an uphill battle. I’ve been on a quest for the perfect WordPress caching solution for years. Like many…
-
Chasing bugs from the future
Alright fellow WordPress enthusiasts! Let’s talk about a silent killer in our codebases: the ticking time bomb of unaddressed issues. You might not call it anything fancy, but it’s a fundamental truth in software development: code left unreviewed, untested, or incompletely implemented is a future bug waiting to happen. These aren’t just theoretical gremlins; they…
-
PHP Template literals (HERODOC)
Tired of String Spaghetti in WordPress? 🍝 There’s a Better Way!Remember the days of wrestling with endless string concatenation to build HTML in PHP? 😩 Thankfully, ES6 gave us Template Literals, making life so much cleaner! Ever found yourself lost in a tangled mess of dots and single/double quotes while crafting WordPress templates or template…
-
WordPress update & performance
🚀 A Decade Old WordPress Site Gets a 15 Minute Makeover 🚀Would you believe that a 10+ year old WordPress site, left mostly untouched over the years, could be updated in just 15 minutes with zero errors? It’s one of my first custom built WordPress themes, still live today, running on shared hosting, with no…
-
OOP – Designing a class around WordPress hooks
Does your OOP in WordPress plugins/themes looks like this robot, creation of a 5 years old kid, and you are the cook behind? It is cute and fearsome at the same time and it serves the purpose, you are feeling safe. What are you doing when you’ve got some actions and filters that you want…
Read more about OOP – Designing a class around WordPress hooks
-
Crocodile in the Yangtze
Does Alibaba run their services on the WordPress, certainly not, but connection is somehow present. I don’t actually remember when I first watched Crocodile in the Yangtze since I watched it few times. It is documentary about Jack Ma as he battles US giant eBay on the way to building China’s first global internet company,…
-
capital_P_dangit
Although I dived into WordPress back in 2012, I remember capital_P_dangit function and al the WPDrama around it. Did you know about this function? This is not about marking anyone feel as less experienced developer, after all providing solution to a problem is what really matters. When having a brand or a trademark you will…