Here is the code how i call the avatar on my posts:
<?php echo get_avatar( $post->post_author, $size="150"); ?>
You can also define a default avatar if user has no avatar.
Here is the code how i call the avatar on my posts:
<?php echo get_avatar( $post->post_author, $size="150"); ?>
You can also define a default avatar if user has no avatar.