Entice stumbleupon visitors with custom message
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 moreAutomatically add the Google +1 button
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 moreAdd Tweetmeme button to your post with shortcode
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 morethis months featured snippets
Get facebook fan count using get_transient and wp_remote_get
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 moreAdd a linkedin share button widget
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 moreBlog default short URLS
Adding this code snippet to your wordpress theme will display the built in short your for your blog post. You could use something like this for your tweets rather then bit.ly or other URL shorteners.
read moreDisplay number Facebook fans
Add this to your wordpressd theme and display the number of Facebook fans you have. Make sure to change PAGE-ID to your Facebook fan page ID.
read moreDetect Twitter visitors
Adding this PHP code to your wordpress theme will display a message to people that visit your site via Twitter.
read more












