Show Gravatar Icon in the Byline for Author
Hi there,
I want to display the gravatar icon for the author instead of the name in the byline area. If it is possible, can you please answer me and show how to do. Thanks for your help. |
did you try doing a search in the forum?
|
The link in that message is broken (error on the comments page); also, the old method e.g.
Code:
<?php echo get_avatar( %author-id%, $size = '54', $default = '' ); ?> |
You could use something like
Code:
<?php echo get_avatar(get_the_author_meta('ID'), $size = '55', $default = '' ); ?> Code:
<?php bfa_post_byline('<div class="post-byline">','</div>'); ?> |
All times are GMT -6. The time now is 08:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.