Least expensive way to get table prefix in multisite installation
Least expensive way to get table prefix in multisite installation
Least expensive way to get table prefix in multisite installation
To delete rows in your wp_comments you can use an SQL statement like so DELETE FROM wp_comments where comment_date < ‘2016-01-01’ and comment_type=”order_notes” This will delete all comments older than January 1st 2016. I do believe Woocommerce uses order_notes as a comment_type make sure by checking that column before running the statement. Of course, you … Read more
Cron Job Keep Running in spite of being disabled
SuperCache for Custom Templates
admin-ajax.php + load-scripts.php hanging for minutes
Query posts without meta preload
This is a rule of thumb I learned long time ago, in a totally different field of software development – “Every new release will slow the features affected by it by 10%” Of course that was in the days when there were years between release and the figure of 10% was probably pulled straight from … Read more
What type of index should I use for postmeta?
How to show optimized list of posts with all their attachment images
Your site’s speed can depend on too many factors. The most important one is server’s speed. Contact your hosting provider and ask them to check the issue and to increase the PHP memory limit. Then deactivate all plugins to free memory. After that try to install a caching plugin, there are several caching tutorials and … Read more