MixBag WordPress Snippets Collection – Part 2 Of 5

Programming-1

How To Automatically Obfuscate Email Addresses

You must be aware that the spam bots keeps on monitoring the internet in an urge to find emails to spam. No doubt that you don’t want to show up your email for such a purpose that spam bots come and collect your email address for spamming purpose. You can avoid this by simply using the snippet below.

Snippet Source/Credit: WordPress Codex

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

How to change WordPress editor font

You might think of changing your WordPress visual editor font for one-to-many times, but you did wonder that how it can be done. Well, answer is simple, all you have to do is use the snippet below and you are able to change the font as per your wish.

Snippet Source/Credit: DevPress

How to count retweets in full text

Adding the following snippet in your theme’s functions.php file, you will be able to count retweets in full text.

Once saved copy and paste the following lines of snippets in your theme’s single.php file:

Snippet Source/Credit: WPRecipes

How to count your blogroll links

You do wish one-to-many times to make a count of blogroll links which you are having on your website. Well, if yes, all you have to do is to simply paste the following snippet in your theme’s file and you are done.

Snippet Source/Credit: Jeff Starr

How to define a minimum word count per post

Sometimes you wish to define a minimum word count per post for different authors. Well, this can be possible by simply copying and pasting the snippet to your theme’s functions.php file.

Snippet Source/Credit: Pippin Williamson

How To Disable Plugins Update In Your WordPress Blog

By default, WordPress always keeps an eye that whether there is any new plugin update is available of not and if it is available, it will notifies you. If in case, such a thing irritates you, then pasting the following snippet will let you be able to disable plugins update in your WordPress blog.

Snippet Source/Credit: WP Snippets

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