How to disable content editor for a specific page template

When adding a meta box to a page in WordPress, you might want to disable the default editor. Simply drop this snippet in your theme’s functions.php file to disable the editor...

Rename WordPress roles

Have you ever wanted to change the default role names (Administrator, Editor, Author, Contributor, Subscriber) within WordPress? Here is a super useful snippet to do so. Simply paste this code into your...

How to remove login shake effect when error occurs

If you don’t like the “shake” effect which occurs each time a login error occurs? Here is a super easy snippet to remove it for good. Simply paste the following code into...

WordPress tip: move all JavaScript files to the footer automatically

In order to improve the loading time of your WordPress blog, it is recommended that you move JavaScript files to the bottom of your HTML documents. Unfortunately, it isn’t always as...

Downsize your WordPress database by removing transients

Transients are a simple and standardized way of temporarily storing cached data in the database by giving it a custom name and a timeframe after which it will expire and be...

HOT NEWS