updated   : May 15, 2012
we now have 588 snippets
By : , on July 07, 2011 9:00 am

Add custom user_row_actions Website, Facebook, Twitter

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will display new links beside the edit button in the users panel when you mouse over. If you have already added new contact methods Facebook, Twitter, etc. you can ignore the extra fields snippet and just use the second snippet.

read more
By : , on February 27, 2011 9:00 am

Add contact methods to profile, Twitter, Facebook, Flickr

wordpress snippet

Adding this to the functions.php of your wordpress theme will add Twitter, Facebook, Linkedin and Flickr contact info fields to users profiles. This will also remove aim, yim and jabber fields from user profile pages.

read more
By : , on December 06, 2010 10:00 am

Detect Twitter visitors

wordpress snippet

Adding this PHP code to your wordpress theme will display a message to people that visit your site via Twitter.

read more
By : , on December 01, 2010 10:00 am

Cached twitter follower count

wordpress snippet

Add the first section of code to the functions.php of your wordpress theme. This code will cache your Twitter follower number for 1 hour and display the count within your template in any location you place get_follower_count().

read more
By : , on November 15, 2010 11:00 pm

Display most recent tweet

wordpress snippet

Adding this PHP code to your wordpress theme will display your most recent tweet.

read more
By : , on November 04, 2010 9:00 am

Get Twitter follower count

wordpress snippet

Adding the first section of code to your functions.php & don’t forget to change $name = ‘problogdesign’; to your twitter user name. Then add the second section of code to your template where you wish to display your twitter follower count. Special thanks to Michael Martin of problogdesign.com.

read more
By : , on October 29, 2010 2:32 pm

Get total post retweets

wordpress snippet

Adding the first block of PHP code to your functions.php and then the second tweetCount function into your single.php will display the number of retweets for your blog post.

read more
By : , on October 25, 2010 3:32 am

Share on Twitter

wordpress snippet

Adding this PHP code to the loop of your wordpress theme will allow users to share your post on twitter.

read more