This is not an article on how to fix timeout errors on your web server. Instead, it is an article on how NOT to go about fixing these errors. Smh…Continue reading "⌛ How NOT to fix error “upstream timed out (110: Connection timed out)”"
Use PHP output buffering in WordPress to interpolate HTML code and dynamic values in a way that’s more readable.Continue reading "😠 Please, WordPress theme and plugin developers, learn to write proper HTML already… smh"
Developing a WordPress theme or plugin? Learn how to use phan and phpcs to improve the quality of your WordPress PHP code.Continue reading "💩 Your WordPress PHP code stinks! Here’s why."
A script to scrape and save daily usage statistics for a WordPress plugin for later use in analytics.Continue reading "👻 Monitor analytics of a public WordPress plugin using PhantomJS"
Build translation files to localize a WordPress plugin using grunt. Create separate translation files for the front-end and back-end.Continue reading "😛 How to make pot with WordPress"
Insider secrets to making your plugin work well on multisite installs, both when it is network activated and when it is not.Continue reading "🖧 The wacky world of network activated WordPress plugins in multisite"
I am always aiming for a hierarchical Gruntfile.js structure that reminds me of increasingly verbose memes. And you should, too.Continue reading "🐗 Building WordPress plugins with an increasingly verbose Gruntfile"
Here’s some code to restore the auto_increment flag on the primary keys of a WordPress MySQL database after a faulty export/import cycle.Continue reading "auto_increment flag repair on primary keys of a WordPress MySQL database"
In this article we will go through some code that I like to use to make dismissible notices where the dismissal persists between page refreshes in the WordPress administration screens.Continue reading "🗨 Dismissible notices that persist when refreshing the WordPress admin screens"
In this meta-article I will list eight WordPress checklists and a book that you will want to go through, before you publish a theme or plugin.Continue reading "🗹 WordPress checklists to go through before publishing a theme or plugin"
I’m going to share with you a trick that I use to run wp-cli as the www-data user on my Linux development environment.Continue reading "🐧 wp-cli executed by www-data user to avoid Linux permission issues"
In this article I will show you one way you can create a WordPress site where subscription downloads and support are available only to current subscribers.Continue reading "How to offer subscription downloads and support with WordPress"
In this article I aim to show you how I backup my WordPress sites on my Digital Ocean droplet.Continue reading "🖴 Poor man’s guide to backup WordPress droplets"
Here I would like to share with you my strategy for developing and maintaining “freemium” WordPress plugins that are easy to maintain and release.Continue reading "Developing and maintaining “freemium” WordPress plugins"
In this article I will show you how to use a bloginfo filter to add markup to your WordPress blog’s title and other metadata, without hurting your SEO.Continue reading "Using the WordPress bloginfo filter to add HTML markup"
In this article I will discuss how a WordPress developer can choose which buttons are shown in the toolbars of a WPBakery Page Builder TinyMCE editor.Continue reading "Add/remove buttons in the WPBakery Page Builder’s TinyMCE editor"
Use Docker to test your WordPress themes and plugins on a range of PHP and WordPress versions.Continue reading "🐋 Test your WordPress themes and plugins with Docker"