Snippets Collection Part – 5

Programming-1

How To Display A Thumbnail Of Any Website

Using the following snippet, you will be able to display a thumbnail of any website.

Once done, you can use the snap shortcode:

Snippet Source/Credit: Greekeries.fr

How To Automatically notify your members on new posts

Using the following snippet, you will be able to automatically notify your members on new posts.

Snippet Source/Credit: WordPress Codex

How To Display A Thumbnail From A YouTube Video Using A shortcode

Using the following snippet, you will be able to display a thumbnail from a YouTube video using a shortcode.

Snippet Source/Credit: Gunay

How To Automatically Add Post Name To The Body Class

Add the following snippet in your theme’s functions.php file, you will be able to automatically add post name to the body class.

Snippet source/Credit: WPProgrammer.com

How To Add An Extra Contact Methods To User Profiles

Using the following snippet, you will be able to add an extra contact methods to user profiles.

Snippet Source/Credit: TutsPlus

How To Automatically Prefetch Next Pages On Your WordPress Blog

Using the following snippet will let you automatically prefetch next pages on your WordPress blog. All you have to do is to simply paste the snippet in your theme’s header.php file and you are done.

Snippet Source/Credit: Bernd

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...