Using readme.md for a plugin on WordPress.org

Did you know that a plugin hosted on the WordPress.org Plugin Directory can use a readme.md markdown file instead of readme.txt? If you manage your plugin on GitHub or GitLab and use a readme.md file there’s no need to maintain or generate a separate readme.txt file — just send the readme.md file straight to wordpress.org.

WordPress Hook Autocompletion for VS Code

I’ve published a VS Code extension which autocompletes WordPress action and filter names and the corresponding callback function. Check out the extension here on the VS Code Marketplace. It’s new and this is my first VS Code extension so it needs some more work. I’ll be improving it over time but I hope you find …

The Unprofessional Web

You may have heard some news over the last few days about obfuscated and malicious code allegedly being found within a WordPress plugin published by a theme shop called pipdig. Jem Turner covered it here and Wordfence Security covered it here, although the latter chose to only use the word “peculiar” as I suspect they’ve …

My Code Extensions

Last updated: January 2020 I’ve previously written about my Sublime Text packages, but I’ve since switched to the excellent VS Code editor. If you’ve already disregarded this editor based on the Visual Studio prefix in its name, please don’t. There really is no relation to Visual Studio, and I suspect that the marketing team at …

Rendering Dynamic Gutenberg Blocks in Theme Template Parts

Gutenberg is an ambitious project that aims to completely overhaul the experience of writing content in WordPress. One of the problems you’ll soon run into when building a block for Gutenberg is that as a block becomes more complex, storing its complete output statically becomes undesirable. If a block contains several fields or its output …