Display information about your multisite install

To display information about your multisite install, simply paste the following piece of code where you want the info to be display.

Source: Kevin Leary

Automatically remove p tags on images

Simply paste the following code on your theme functions.php file, save it, and the <p> tags are gone permanently.

Source: James

Automatically email guest authors when their posts are published

Copy the code below and paste it on your functions.php file and you will be able to automatically email contributors when their posts are published.

Source: Daniel Pataki

Create a login form shortcode

Paste the code below into your functions.php file which lets you create a login form shortcode for your WordPress blog.

Once done, add the following shortcode on the page where you want to have the login form added.

Source: DevPress

Reduce spam by using .htaccess

Simply paste the following lines into your .htaccess file but also make sure you do take the backup of the whole of your website before putting this shortcode.


Photo Credit: Flickr/Mike Renlund