How to Relabel WordPress’ “Publish” Button for Custom Post Types

3 minute readFor my WordPress plugin Print My Blog, I wanted to change WordPress’ “Publish” button to instead say “Save”, and it was complicated enough to merit sharing a blog post. My Situation The plugin registered a custom post type called “Print Material”, which isn’t publicly visible on the website. So the button “Publish” was misleading because […]

Read More How to Relabel WordPress’ “Publish” Button for Custom Post Types

Handling Polluted JSON in AJAX

5 minute readThe bane of all Javascript code using jQuery.ajax() is polluted JSON responses: when some HTML or other junk gets into your JSON response, making it unparsable and bringing the whole system to a screeching halt. In this post, I’ll show what you can do with polluted JSON to keep everything working. How It’s Supposed to […]

Read More Handling Polluted JSON in AJAX

Getting Started Contributing Code to WordPress Gutenberg in Laragon

7 minute readThis post documents how I setup WordPress Gutenberg for local development on Windows 7, using Laragon instead of Docker, and made my first pull request to the project. Most folks wanting to test and modify WordPress’ Gutenberg use Docker to manage their environment. That’s great because it’s especially consistent. But I’ve been happy using Laragon […]

Read More Getting Started Contributing Code to WordPress Gutenberg in Laragon

My Takeaways from "Gutenberg for Plugin Owners" Crowdcast

2 minute readToday I watched “Gutenberg for Plugin Owners“, an online discussion between Brian Hogg, Kyle Maurer, and Daniel Bachhuber, where they discussed and answered questions about how WordPress plugin owners can better prepare for the new editor, Gutenberg. You can watch the replay, but here’s my notes. I was admittedly doing some somewhat noisy house-chores while […]

Read More My Takeaways from "Gutenberg for Plugin Owners" Crowdcast