Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
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
22,154 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
did you try doing a search in the forum?
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
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 03:35 PM.

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