wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Display author avatar within posts or pages

wordpress snippet

Adding this snippet to your wordpress theme within the loop will display the current authors avatar.

read more

Display avatar for currently logged in user with get_avatar

wordpress snippet

Adding this snippet to your wordpress template will display the currently logged in users avatar in your theme. To adjust the side of the avatar change the number 64 within the get_avatar function default is 96 and max size is 512.

read more

Avatar size in wp_list_comments

wordpress snippet

Change the avatar size in your comments using the parameter avatar_size in wp_list_comments from the default size of 48px.

read more

Custom default gravatar image

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will set the default avatar.

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