Best Of WordPress Code Snippet Part – 3

Programming-7

Adding Custom Text To Your Website’s Login Page

Simply paste the following snippet in your theme’s functions.php file while to customize the message, you can do on line 3.

Snippet Source/Credit: WP Snippy

How To Show A Short Intro Of The Author Bio

In order to achieve this, all you have to do is to simply copy and paste the following snippet into your theme’s functions.php file.

Remember a thing more, once added the above snippet, add the following line of code at the place where you want to display a short introduction of the author byline:

Snippet Source/Credit: Tim Marcher

Changing Contents Of A Dashboard Tab

Just, simply paste the snippet below into your functions.php file.

Snippet Source/Credit: WP Tuts

How To Add A Breadcrumb To Your Blog

Simply paste the following code to your functions.php file and you are done.

Once done, call the following function by opening header.php:

Snippet Source/Credit: emoticode

Setting The Default Image Size In WordPress Galleries

Simply using the following snippet which you have to paste in your theme’s functions.php file with which you can set the default image size in your built-in WordPress galleries.

Snippet Source/Credit: emoticode

Adding Paragraph Tags Automatically In Your WordPress Blog

Using the wpautop() function, WordPress itself add paragraph tag to the content as well as the excerpt BUT if you wish to make an addition to this by adding paragraph tags to any text, simply add the following snippet and you are done.

Snippet Source/Credit: Daniel Pataki

The Editorial Team

The Editorial Team

The Editorial Team at JustWP is a team of WordPress experts led by Karan Chopra.

You may also like...