I run into a WordPress theme called Uncode, which has minimum requirement for server, “PHP Max Input Vars = 3000”. This is not rare case. I have worked with quite a few themes asking for the same setting. Make Uncode…
Category: Code Snippet
Do you have “/?doing_wp_cron” in every URL on your WordPress site? It happened to me recently on one of my site and bothered me a lot, because it attached itself to every URL on the website. Remove /?doing_wp_cron from URL…
We mentioned how to change PHP settings on GoDaddy share hosting account a while ago, it is done in .user.ini file. This is a fairly common hack that can be applied to other similar hosting account at different hosting companies.…
When troubleshooting a production site, one of the challenge is dealing with the email communication. For example, we need to debug a problem on eCommerce website, but don’t want the actual client get interrupted by all the testing emails. Here…
When setup some of the WordPress themes, you may see Maximum Input Vars notification. It asks you to increase Max Input Vars in your host to be able to use the theme. After searching for help, you may find several options. But in my case…
Author page is part of WordPress by default. Without manual change, author page URL exposes user login username. From SEO point of view, it may also create duplicated content. For blog website, author page is useful when there are multiple…
If you know WordPress database inside and out, the user_nicename shouldn’t be strange to you. It is such kind of thing that has been ignored and easily overlooked, but hackers are always trying to dig into and get useful information…
Although WooCommerce default page templates are mobile responsive overall, further polish is required to match the theme for each specific project. In one of my latest projects, I ran into the problem with default WooCommerce product quantity input box. It…
Can’t find a good title for this one. Here is the background. On a membership website, the membership feature was achieved by using Paid Membership Pro (PMP) plugin. An extra profile field was added using PMP Register Helper. Few months…
I backup database daily, and send multiple copies to different locations. One is my Amazon S3 bucket for backups. If backup task failed, a notification email will be sent to me. And I am getting notification email of this sort…