wordpress snippets last updated   : September 29, 2014
we now have 639 snippets

Add pinterest “Pin It” button to your wordpress blog

wordpress snippet

Adding a pinterest button to a wordress blog is simple! Place the first snippet in the functions.php of your wordpress theme. Once that is done add the next snippet into the location you wish to display the Pint It button within the single.php template file.

read more

Entice stumbleupon visitors with custom message

wordpress snippet

Great little snippet by Filip Stefansson to display a custom message for people visiting via stumbleupon. Add this snippet to your wordpress template a good place is within the header.php.

read more

Automatically add the Google +1 button

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will automatically add the Google +1 button to your wordpress posts. This is a great little snippet from ottopress.com

read more

Add Tweetmeme button to your post with shortcode

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you add the Tweetmeme button to any location within your post.

read more

Get facebook fan count using get_transient and wp_remote_get

wordpress snippet

I posted a snippet some time ago to get the number of facebook fans this is an updated version using get_transient. Adding this snippet to the functions.php of your wordpress theme will let you cache and display your Facebook fan count using wp_remote_get. Add the second snippet into your wordpress theme in the location you wish to display the count.

read more

Add a linkedin share button widget

wordpress snippet

Adding this snippet to the single.php of your wordpress theme will display a linkedin share button. Be sure to place this code within the loop,

read more