Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


  #1  
Old Apr 19, 2012, 04:57 PM
MissAlexia
 
1 posts · Apr 2012
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.
  #2  
Old Apr 19, 2012, 06:11 PM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
Old Jun 13, 2012, 06: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, 07: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 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 11:18 PM.


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