Category: Tips & Tutorials
-
Add Extra Columns to WooCommerce Reports
It’s possible you’ve followed this tutorial from Woo on how to add columns to admin reports, such as the Orders report. And it’s possible you’ve found that it just doesn’t really work as advertised and is incredibly convoluted. Specifically, the Javascript filter callback you register (addFilter) is just…never called. Me too. Here’s something that actually…
-
Disable Kadence Mega Menus on Mobile
If you aren’t familiar, Kadence is a suite including extra blocks and a powerful theme for WordPress. One nifty thing you can do with Kadence, if you so choose, is build out one of those trendy mega menus. Mega menus can be a fun desktop experience but are generally hot garbage on mobile. You know…
-
Installing Premium WordPress Plugins with Composer
If you’ve Google’d how to install or update premium plugins, like Advanced Custom Fields or Gravity Forms, with Composer, you’ve probably found solutions that want you to configure package data locally. Examples include this tutorial from Roots and this library on GitHub. The problem with these solutions is that they require defining the plugin version…
-
Add and Promote Products in a Shopify Blog Post
Here’s how to use Shopify’s Buy Button app to promote products within Shopify blog posts as part of your content marketing strategy
-
Handle Multiple reCAPTCHA’s on the Same Page
reCAPTCHA’s default configuration hijacks pretty much everything about form submission. So anything you want to do with the form, such as validation, will need to be fired in the configured callback function, rather than on the traditional submit event. This is pretty simple for most scenarios because you can use the form’s HTML ID to…
-
What does it cost to start using Shopify and Shopify POS for my brick-and-mortar businesss?
Brick and mortar businesses have been around for a long time, and this brand of retail isn’t going anywhere. While plenty of people are content to order peanut butter on subscription from Amazon, there will always be folks who want to shop in person. That’s doubly true for industries like clothing, furniture, and many others…
-
Configure Klaviyo Back-in-Stock Notifications for Shopify Dawn
Klaviyo is an email marketing platform with a strong Shopify integration. Of the many features it offers, including personalized recommended products in email campaigns and customer behavior tracking, it can be set up to allow customers to sign up to know when a product on your Shopify store is coming back in stock. Out of…
-
WooCommerce Foreign Key Errors and MySQL Engines
Here at Sterner Stuff, we don’t like throwing away existing websites and content. We call that stuff “equity”, and no one wants to throw away equity. When possible, we’ll repurpose as much of a WordPress site as possible when implementing a new design, features, etc. So while it may seem like a brand new site,…
-
Configuring WP fail2ban Behind Cloudflare
If your WordPress website is proxied behind Cloudflare, the IP address reported to your server isn’t the actual IP address of the original request. It’s a Cloudflare IP. Most of the time, this doesn’t matter, but if you’re using WP fail2ban, this causes issues. The Problem By default, fail2ban in combination with WP fail2ban works…
-
Migrate from WP User Avatar to JJJ’s WP User Avatars
WP User Avatar, now commandeered by ProfilePress, is significantly more bloated than it once was. There are a variety of alternatives to turn to if you want to replace it, but I’ve chosen (and recommend) WP User Avatars, maintained by WordPress core contributor John James Jacoby. The migration here is pretty simple. WP User Avatar…
-
Configure wkhtmltopdf for Laravel Snappy on Homestead, Sail, Forge
Laravel Snappy depends on wkhtmltopdf, and the Composer wrappers are outdated. Here’s how to get set up with the latest version.
-
Keep MySQL Databases During Laravel Homestead Upgrade
This question has been documented about a million places around the internet with a variety of convoluted answers. How can we upgrade Laravel Homestead without losing our MySQL databases? Instead of writing your own mysqldump commands, or copying and pasting one from an internet stranger, there’s actually functionality for this built right into Homestead. If…