The Smart Way to Cancel Your Unmanaged Server: A Step-by-Step Approach
Unmanaged servers are a cost-effective solution, but when it comes time to decommission them, the responsibility falls on you to ensure everything is backed up and transferred smoothly. Instead of rushing through the process, follow this step-by-step guide to make...
How to Turn off Docker CLI Hints
Not sure which version of Docker started issuing some annoying messages, but if you want to focus on doing the work and focussing on important messages and having unnecessary messages is a bit distracting. Try Docker Debug for seamless, persistent debugging tools in...
How to Prevent Spam on your WordPress Site
Spam is a total waste of time and resources but people still try to do it to obtain backlinks via black hat SEO techniques. The spam take cane various forms ranging from comment spam to fake user registrations, it can clutter your site, slow it down, and pose security...
How to Migrate a Large WordPress Site
Migrating a large WordPress site is a task that requires careful planning, preparation, and execution. A well-executed migration ensures that your site and data are transferred correctly, efficiently, with minimal downtime and issues. The task should be delegated to...
Are you Using Google Docs to Write your Articles?
Yeah, we thought so too. It has voice typing and it saves lots of time. We noticed that when you use it to write code it puts smart quotes which can break code and that's not good. Also when dictating (voice typing) it keeps adding more space around words and that's...
How to Add to Pay Order Button for Pending Payment Orders on View Order Page in WooCommerce
You’d think that when a customer views an order and the order has a pending or failed status, they should be able to pay right from that view order page, right? Yeah, but nope. The view-order template just renders the order info. The Order Listing page does, however,...
How to Show a Warning if a Customer's Credit Card is About to Expire in WooCommerce
Many payments in WooCommerce just fail because a credit card wasn’t updated recently when WooCommerce Subscriptions or another plugin tried to bill the account. It’s better if this issue is avoided whenever possible. It’s way better to inform your customers that their...
How to Show a Notice to all WooCommerce Customers in the My Account Section
Let’s say you want to show the same message to all of your customers. WooCommere has lots of hooks that we can use to show the message. Since it’s a message that applies to all of your customers then it makes sense to put it in one central location so you can update...
How to Find the Latest Day of The Month in PHP
If you ever need to find the last day of the month in php this is how to do it. You convert to seconds the current year and month and then let date() function to find what's the last day of that selected month. <?php $year = 2024; $month = 2; $last_day_of_month =...
Adminer Login "Session expired, please login again"
Did you have the same problem? Well, do make sure that adminer can access the session folder or if there's a restriction such as openbase dir.(php open_basedir). To check you may need to create a temporary file called 000info.php with the following contents.You can...