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
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 19, 2012, 05:57 PM
MissAlexia
 
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.
  #2  
Old Apr 19, 2012, 07:11 PM
juggledad's Avatar
juggledad
 
22,378 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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 13, 2012, 07:45 AM
Jozefs
 
26 posts · Jul 2009
Belgium
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 = '' ); ?>
no longer works with 3.7.7.
  #4  
Old Jun 13, 2012, 08:11 AM
Jozefs
 
26 posts · Jul 2009
Belgium
You could use something like

Code:
<?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

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

Bookmarks

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 08:35 AM
[SOLVED] How to link %author% tag in byline area box.carlo Excerpts, Read more, Pagination 2 Jan 8, 2011 10:02 AM
How to insert Gravatar into Byline? vsamigo Post-Kicker, -Byline & -Footer 1 Jul 15, 2009 05: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 09:25 PM


All times are GMT -6. The time now is 11:51 PM.


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