You’ve heard about localization (internationalization) WordPress plugins, which automatically translate plugin text into your blog language without changing any codes. But what about localization themes? How can we make a theme multilingual? It is as easy as working with plugins as you’ll see in this post.
Page 40 of 40
Showing avatars of post author is a very common and popular task. In WordPress, to retrieve avatar for post author, just easily use this code within Loop:
<?php echo get_avatar(get_the_author_meta('user_email'), 64); ?>
Change 64 to another size if you want. The function get_avatar has 4 parameters: