Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

Show Gravatar Icon in the Byline for Author

Old Apr 19, 2012, 04:57 PM
1 posts · Apr 2012
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.
Old Apr 19, 2012, 06:11 PM
juggledad's Avatar
23,755 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you try doing a search in the forum?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jun 13, 2012, 06:45 AM
26 posts · Jul 2009
The link in that message is broken (error on the comments page); also, the old method e.g.
<?php echo get_avatar( %author-id%, $size = '54', $default = '' ); ?>
no longer works with 3.7.7.
Old Jun 13, 2012, 07:11 AM
26 posts · Jul 2009
You could use something like

<?php echo get_avatar(get_the_author_meta('ID'), $size = '55', $default = '' ); ?>
in the loop (you'll need to edit index.php and for example place this code just before

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't show byline in excerpt Nolie Excerpts, Read more, Pagination 2 Jan 11, 2011 07:35 AM
[SOLVED] How to link %author% tag in byline area box.carlo Excerpts, Read more, Pagination 2 Jan 8, 2011 09:02 AM
How to insert Gravatar into Byline? vsamigo Post-Kicker, -Byline & -Footer 1 Jul 15, 2009 04:02 PM
3.2 to 3.3.2 Update: %author-linked% in ByLine does not longer work Mariosagt Post-Kicker, -Byline & -Footer 3 Apr 14, 2009 08:25 PM

All times are GMT -6. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.