Add gravatars for the post author in wordPress
Now that Gravatar support is part of the WordPress core adding them into your WordPress theme is easy. Adding them to your comments has been documented. How about adding them to your post titles to highlight the comment author? Within the loop? That?s fairly easy too. Here?s the code:
1 |
<?php echo get_avatar( get_the_author_email(), '80' ); ?> |
Pretty simple, huh? get_the_author_email outputs … [Read more…]