Posts

How to check if your current page is the wp-login.php page

By The Mighty Mo! Design Co. / June 7, 2022 / Comments Off on How to check if your current page is the wp-login.php page

I realized this morning that my TMM Maintenance Mode WordPress plugin had a bug that was causing the wp-login.php page to be inaccessible. The solution was to write a simple function that checks whether or not we’re currently on a login page, and then add a call to that function in my code. Here’s the…

Read More
woocommerce logo

WooCommerce Product Image Gallery Not Loading with WP Rocket Active

By The Mighty Mo! Design Co. / June 6, 2022 / Comments Off on WooCommerce Product Image Gallery Not Loading with WP Rocket Active

Today I updated a WooCommerce site, and everything worked fine, except for the images on product pages – they were not displaying at all. After a lot of trial & error, I realized that WP Rocket was to blame. I’m not sure exactly what the issue was (though my hunch is that it had to…

Read More
woocommerce logo

How to fix the “Warning: Class ‘Automattic\WooCommerce\StoreApi\Routes” issue in WordPress + WooCommerce

By The Mighty Mo! Design Co. / May 13, 2022 / Comments Off on How to fix the “Warning: Class ‘Automattic\WooCommerce\StoreApi\Routes” issue in WordPress + WooCommerce

Today when I visited a customer’s website, I saw an error similar to this: etc. After trying all sorts of troubleshooting, the solution ended up being simple. Download a fresh copy of WooCommerce from WordPress.org and FTP it up to the server, replacing the existing WooCommerce files. Problem solved. Isn’t that nice? Many thanks to…

Read More

How to CSS rainbow text

By The Mighty Mo! Design Co. / March 31, 2022 / Comments Off on How to CSS rainbow text

Here’s a bit of plain CSS that’ll create rainbow text on your WordPress site or anywhere, really.

Read More

How to Restore a Deleted Amazon S3 Bucket

By The Mighty Mo! Design Co. / March 22, 2022 / Comments Off on How to Restore a Deleted Amazon S3 Bucket

I ran into a rather serious issue recently: a human on my team (me) intentionally (but accidentally) deleted an Amazon S3 bucket that was serving files to a WordPress site. The solution to the problem follows: Cry when you realize you cannot restore a deleted S3 bucket. Search your computer, your co-workers’ computers, your former…

Read More