When changing fonts can’t help but lead to a new colour scheme
Category Archives: WordPress
On creating a WordPress theme generator optimized for Tailwind
From local _s fork to public generator of many thousands of themes
Resolving the conflict between Autoptimize and WP Super Cache’s Expert delivery method
Just before I launched this website, I began setting up WP Super Cache and Autoptimize, the former caching all of the site’s pages, and the latter aggregating the site’s JavaScript and CSS. All of which went well until I was doing final testing and noticed that browser caching had effectively been disabled for the aggregatedContinue reading “Resolving the conflict between Autoptimize and WP Super Cache’s Expert delivery method”
Detecting SiteGround’s staging environment
Managed WordPress hosts reliably include a staging environment, and most hosts do a good job of providing both a means of detecting whether code is running on a staging environment and documentation explaining how that detection works. WP Engine provides is_wpe() for detecting production and is_wpe_snapshot() for detecting their staging environment. (You’ll need to checkContinue reading “Detecting SiteGround’s staging environment”
Eliminating slow meta queries by repurposing menu_order
Using the WordPress Coding Standards for PHP_CodeSniffer has made me more aware of the meta queries I include in my work. It’s one thing to know meta queries can be very slow, but seeing messages like these below my editor window keeps me mindful of when and how I use them: On a recent project,Continue reading “Eliminating slow meta queries by repurposing menu_order”