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"