An easy to implement CSS only ticker tape or marquee text animation.
Web Development
Delete all posts of a post type from the WordPress database
A quick little WP-CLI command to nuke all posts of a specific post type in one go.
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.
Adding Read Only fields to multi-part Gravity Forms
Adding read only fields to multi-part forms in Gravity Forms by enqueuing JS instead of echoing it straight onto the page.
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 […]
Adding a TinyMCE Editor in the WordPress Customizer
Earlier this year, I figured out a nice and clean way to include the TinyMCE editor in the WordPress Customizer. […]
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.