A better way to build complicated WordPress queries
I got a call from a client with a big WooCommerce store. Their “You Might Also Like” section on product pages was a disaster. It…
I got a call from a client with a big WooCommerce store. Their “You Might Also Like” section on product pages was a disaster. It…
Got a call from a client running a huge WooCommerce store. They wanted a “related products” feature that was… ambitious. It needed to show products…
I got a call from a client in a panic. Their custom inventory sync plugin was failing silently on the live site. No errors, no…
I got a call from a client with a major headache. They run a big events portal, built on a custom plugin we inherited. Over…
A junior dev on my team asked for a code review last week. He was building a custom registration form for a client site, and…
A new junior dev joined my team last week, and I had to get them set up. I figured I’d just send them my list…
Had a client come to us with a site that was a total mess. It had years of custom code from different developers, and things…
A WooCommerce coupon worked for regular customers but failed for wholesale ones. Deactivating plugins got me nowhere; stepping through the code with Xdebug found a role-check bug in about 15 minutes.
A client needed to import users from a clean CSV and a messy pipe-delimited file. The strategy pattern kept the importer clean instead of a tangle of if/else blocks.
A WooCommerce sales widget kept timing out because it stacked nested foreach loops. Swapping them for array_filter, array_map, and array_reduce made the code fast and readable.