I write about all things web development - trends, workflows and helpful code snippets.
Adding Reusable Blocks To WordPress Theme Template Files
Reusable blocks are a powerful tool in the block editor ecosystem, but did you know they can also be used in your theme’s template files? Let’s look at how it can be done.
Helpful Command Line Snippets For Front-End Developers
These useful commands will help you expand your understanding of the command line and be more efficient on your next web project.
How To Configure CORS for the WordPress REST API
Disable WordPress’ existing CORS headers and defining your own access rules using .htaccess.
How To Add A BandCamp Download Code Form To Your Website
Allow your fans to redeem download codes through your website instead of sending them straight to BandCamp.
Making Google Maps Controls More Accessible
As of late 2019, Google Maps does not include alt attributes (blank or otherwise) on the img elements within the fullscreen control button. The missing alt attributes cause accessibility audits such as Chrome’s Lighthouse tool to give a lower score for such tests.
Visualizing Subscriber ZIP Code Data For Your Mailing List
I have an email sign up form on my music website that has an optional ZIP Code field. I built a small web app that accepts a CSV file and outputs the ZIP codes, or any other address data, on a Google map with markers for each subscriber.