wordpress snippets last updated   : April 14, 2014
we now have 629 snippets

Automatically link twitter usernames in posts

wordpress snippet

Excellent snippet by Paul Underwood that will automatically link twitter usernames in your posts. This snippet will look for text like @wpsnipp and convert it to <a href="http://twitter.com/wpsnipp">@wpsnipp</a> something I’m sure many of you will find useful.

read more

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

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

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

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

Display most recent tweet

wordpress snippet

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

read more
jqsnipp.com | we just launched jquery snippets website