StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 10-09-2012, 02:29 AM
devplus devplus is offline
Registered User
Genesis Member
 
Join Date: Jul 2012
Location: ON, Canada
Posts: 186
Default Display Author Gravatar in Post

Hi,

How do I show author gravatar on the post (for example besides the post title or post info) ?

I know I can use the code below inside the loop:

HTML Code:
<?php echo get_avatar( get_the_author_email(), '80' ); ?>
I'm using the default blog template. So, what is the genesis way of doing this since there are no single.php or index.php?




Btw, I already know how to output the author gravatar using the featured post widget.
  #2  
Old 10-09-2012, 06:21 AM
andrea_r's Avatar
andrea_r andrea_r is offline
Forum Manager
 
Join Date: Nov 2009
Location: Eastern Canada
Posts: 36,279
Default

Use a hook within the loop area, like genesis_after_title.


http://www.studiopress.com/tutorials/hooks
http://www.studiopress.com/tutorials/hook-reference
http://genesistutorials.com/visual-hook-guide
__________________
*****
These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN.

If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab.

If you need Account Assistance, file a help desk ticket at the same location.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display author gravatar rather than thumbnail davebriggs General Discussion 1 12-17-2009 07:09 PM
How to display gravatar to the left of the post title? jchen127127 General Discussion 6 03-10-2009 11:43 PM


All times are GMT -5. The time now is 07:53 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.