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

Cached twitter follower count with get_transient, wp_remote_get

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

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