I recently ran into a need I don’t think I’d seen before: adding a body class for the current page and for any parent pages. Here’s how.
A collection of how-to guides for WordPress development
Ready to make your site load faster? Here’s how I went through that process on my own site.
Whenever nested calls to the_content happen in Gutenberg, the editor is outputting paragraph tags all over the place.
This is a common task during the development process – it’s important to be able to know how to do a hard refresh. The good news? It’s very easy. The bad news? Every browser is a little bit different.
With Gutenberg out, everyone’s starting to use the shiny new color settings. That’s great, but if you also are building your own blocks using ACF, the color picker you see there probably doesn’t include your custom colors. This shows you how to put those into sync automatically!