Using WP-CLI for Batch Updating Contact Form 7 Postmeta Options

I recently set up Mailgun for a Codeable client who was using Contact Form 7. Unfortunately after integrating Mailgun to improve the reliability of email delivery, the formatting of the emails was not quite right. I managed to isolate the issue to a setting called Use HTML Content Type in Contact Form 7 which had … Learn more…

Funny Google PageSpeed Insights Errors from AdSense + Analytics

People often use Google PageSpeed Insights tool to identify potential performance improvements by correcting the warnings. While I generally advise clients to focus on first byte and page load time rather than scores since they matter more for SEO, my client on Codeable required good scores on Google PageSpeed Insights in order to get into … Learn more…

Using WP-CLI wp profile to Diagnose WordPress Performance Issues

Daniel really pulled out all the stops when he created the wp profile command – kind of like a New Relic alternative (see this great Kinsta post about using New Relic) it can help pinpoint which components are slowing your WordPress site down. Originally available from runcommand as a premium package, it is now free on … Learn more…

Fixing wp_options Table Missing Unique Column and Primary Key

I have had the opportunity and pleasure of doing a lot of WordPress and WooCommerce database cleanups on Codeable to speed up sites. This was one of my favorite projects to complete for a large multisite on Kinsta (Review) that gets around 1 million page views per week. If you see this error in phpMyAdmin ‘Current … Learn more…