Created
September 13, 2013 18:16
-
-
Save hchouhan/6554166 to your computer and use it in GitHub Desktop.
Display Author Avatar In Post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// echo get_avatar( $id_or_email, $size, $default, $alt ); | |
echo get_avatar( get_the_author_email(), '128', '/images/no_images.jpg', get_the_author() ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment