A quick little WP-CLI command to nuke all posts of a specific post type in one go.
WordPress Development
Inline SVGs in your WordPress code with this helper function
Easily inline your SVGs in WordPress and modify the attributes while you’re at it with this handy function.
Modify support for new Block Editor settings with PHP
Use PHP to easily and quickly modify block editor features, with a solid example.
How to set up theme.json in WordPress themes
Get to know the features of theme.json and how to start using it in your WordPress theme.
Get a list of all registered Block Patterns in the WordPress Block Editor
Here is how you can get a list of all registered block patterns. It’s a handy little function I created […]
How to remove default settings on a block in the WordPress Block Editor
“Has anyone figured out how to remove a default alignment on a core block? For example, Media & Text defaults […]
How to add a Custom Colour Palette to the Block Editor
Adding a custom colour palette to the Block Editor (Gutenberg) is fairly simple to do, here’s how.
Quickly downgrade or upgrade your Node.js version
Skip right to the solution I encountered a really annoying problem last week while doing a small project for an […]
Colour Specific Classes in WordPress using PHP and SASS
Over at Wanderoak, we build component based websites (which means the Gutenberg transition is comparatively easier for us!). There’s often […]
Redirect all Old Links to a New Domain
At some point in your online life, you’re going to need to change the domain for a website. Maybe your […]