JustWP

WordPress Themes, Plugins, Tutorials, Tips And More…

Tag: Code Snippet (Page 2 of 5)

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:
Read More

Snippets Collection Part – 4

Programming-7

How To Limit Posts Per Page On Search

Using the following snippet, you will be able to limit posts per page on search.

Snippet Source/Credit: WordPress.org

How To Display The Number Of Results In WordPress Search

Using the following snippet, you will be able Read More

Snippets Collection Part – 3

Programming-3

How To Change WordPress Login Logo Title Attribute

Using the following snippet, you will be able to change WordPress login logo title attribute.

Snippet Source/Credit: Dave Clements

How To Load All Posts From The Current Week

Using the following snippet, you Read More

Snippets Collection Part – 2

Programming-2

How To Add A Google+ Button To Your Posts

Using the following snippet, you will be able to add a Google+ button to your posts.

Snippet Source/Credit: SpyResStudios

How To Add Gravatars For The Post Author

Using the following snippet, you will be Read More

Snippets Collection Part – 1

Programming-4

How To Completely Shut Down WordPress Search

Using the following snippet, you will be able to shut down WordPress search completely.

Snippet Source/Credit: WPEngineer

How To Enlight Searched Text In Search Results

Using the following snippet, you will be Read More

Best Of WordPress Code Snippet Part – 5

Programming-2

How To Load All Posts From The Current Week

Using the following snippet and you will be able to load posts from the current week.

Source Snippet/Code: Christian Brückner

How To Add A Custom Message To The Editor Pane

Simply by copying the following snippet Read More

Best Of WordPress Code Snippet Part – 4

Programming-3

How To Load jQuery From Google CDN

WordPress by default load its own jQuery in your theme BUT using the following snippet in your theme’s functions.php file will load the library directly from Google CDN.


Read More

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 Read More

Best Of WordPress Code Snippet Part – 2

Programming-6

How To Protect Your Blog Against Image Hotlinking

Using the following snippet you will be able to protect your blog against image hotlinking.

Snippet Source/Credit: WPRecipies

How To Search Within Post Type Only

If you want to force the search engine Read More

Best Of WordPress Code Snippet Part – 1

Programming-4

How To Completely Shut Down WordPress Search

Copy and paste the following snippet in your theme’s functions.php file and you are done.

Snippet Source/Credit: WPEngineer

How To Enlight Searched Text In Search Results

You do wish to Enlight searched text Read More

Page 2 of 5

Powered by WordPress & Theme by Anders Norén