wordpress snippets last updated   : April 22, 2014
we now have 631 snippets
category social

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

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

Display youtube video with embed shortcode

wordpress snippet

Adding this snippet to your wordpress theme will let you embed youtube video with a simple shortcode to your posts. Just add the youtube url to the video and your ready to go although you can specify a few paramaters like width, height, name, etc.

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
jqsnipp.com | we just launched jquery snippets website