In one of my most recent geeky escapades, I was attempting to automate generation of some icons / buttons. Turns out all is fun and games, until someone uses feDropShadow. There’s more than one ways to raster an SVG There’s tons of reasons why you wouldn’t want to generate a bunch of icons with a …Continue reading "❏ How to render an SVG with a feDropShadow filter to PNG raster"
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"
Instructions for WordPress plugin developers as to how to add GDPR compliance to their code.Continue reading "🇪🇺 GDPR for WordPress plugin authors"
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"
How to migrate trac project from 1.0.12 to a 0.11.7 installation if your project is MySQL based.Continue reading "How to migrate trac MySQL-based project from trac 1.0.12 to trac 0.11.7"
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"
How to open a shell here, in the directory of the file you’re currently editing in Geany.Continue reading "Open terminal with shell here in Geany"
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"