how to get current user avatar in wordpress code example Example: get user avatar wordpress <?php echo get_avatar( get_the_author_meta( 'ID' ), 32 ); ?>