I’ve written previously about developing on WordPress trunk using Valet+. Sometimes, I really just need to spin up a local site without the full trunk setup. Steps (Requires Valet+ and WP CLI, as well as an existing wp DB user with a password of wp) cd ~/Sites/ mkdir wp cd wp wp core download valet [more…]
These posts are meant to be quick ideas that I may want to explore later, whether as a blog post or a project.
When writing code for WordPress plugins, one of the things that you need to do is to hook everything into the appropriate WordPress hooks. When working with OOP code, this typically means that each class is responsible for its own hooks. The result of this is that each class needs to be instantiated so that [more…]
I’ve been using Keybase.io (you can find me there as JPry) for a little while now, and it occurred to me that I really should be signing my commits with Git. So last week I decided to set that up, and it was easier than I expected. This is the short version of what I [more…]