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

Facebook open graph snippet to set default image

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will allow you to specify Facebook Open Graph information on your WordPress posts. Allowing you to specify which image should be displayed when sharing your article on Facebook among other things.

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

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

Facebook like button

wordpress snippet

Adding this snippet to your wordpress loop within the index.php template file or single.php will add a Facebook like button for each article you post with the associated permalink.

read more

Display number Facebook fans

wordpress snippet

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