Optimize WordPress, a long list of tips

In the above image you can see your WordPress before reading this post, and after the optimizations you will make after you read it. :) This article contains a lot of suggests to optimize your WordPress installation and make your site faster and better. Add cache to make WordPress faster The really important help for […]

Remove archive pages in WordPress, how to

I think that in most blogs (that is not all) archive pages are redundant content and there’s no need to make these pages available. So I’ve found a method to remove archive pages from WordPress without any plugin but with just a few lines of PHP code. To remove archive pages in WordPress to prevent […]

WordPress anyone can register, but no email confirmation

Many times it has happened to me that my WordPress installation properly send emails using wp_mail directly, specifing also the headers parameter with the proper From syntax followed by the email address. But when I use the “anyone can register” checkbox and try to register a new user from the url http://yourdomain.it/wp-login.php?action=register I don’t receive […]

WordPress 4.1.1 is available! Please update now.

Sometimes you find messages like “WordPress 4.1.1 is available! Please update now.“, in italian it is: “È disponibile WordPress 4.1.1! Aggiorna adesso“. Or another message for users with no permissions “WordPress 4.1.1 is available! Please notify the site administrator“. To stop those annoying messages for users that don’t need them, you can simply add this code at […]

Fix for WP SUPER CACHE home not refreshing

WP SUPER CACHE is one of the most used WordPress plugin for cache, but probably there is a small bug in WP Super Cache homepage refresh configuration. This can explain why so many times I received alerts from clients that can’t find their posts in homepage! So I’ve found/modified/made this few lines of code to […]

Force WordPress to use Italian date

To get date with get_the_time in Italian you should specify italian (it_IT) in the WP_LANG constamt in your wp_config.php file. If this doesn’t work (or if this affects your blog showing dates in italian where you don’t want them), there is always the fast DIRTY way. Put this function in your functions.php file and use […]