• Hi,
    I have spent two days now trying to work this out and it’s gotten to the point where i think i am going crazy so i thought i would ask for help.

    The site is https://sydneynightowl.com.au/blog/ and the theme is Motion.

    The Problems/What i would like:>

    1. I would like to have an avatar show up with each post (in the top post bit)
    2. It would be great if i could have the authors update their own avatar (but it’s not that important i can do it for them)
    3. I would like a ‘grid’ in the side bar of the avatars for all the authors (there was a plugin that seemed perfect but couldn’t find the download/install for it
    4. I would like a page that lists all the authors with their info (i could always just do this manually but would be better automatically)
    5. The author name in the posts isn’t linking to anything, i would like it to link to their recent posts (i had it in another theme and cant get it back
    6. I thought there was some automatic avatar thing if i put the file in the right place with the user id as the filename, this didn’t work (made ‘avatars’ folder in both child and normal theme, no luck)

    I have tried every (decent) plug in i could find and am now at a loss, please help me.

    Asher

Viewing 7 replies - 1 through 7 (of 7 total)
  • 1. Does the index.php have <?php echo get_avatar( get_the_author_meta('user_email'), '70' ); ?> in the loop? (70 is the size, can be whatever),
    and is “Use avatars” checked, in dashboard, under “Settings” > “Discussion”?

    2, 6. Avatars are created using https://www.gravatar.com, all authors need to make an account and upload an image.

    3, 4. A bit more involved, you need to make a custom template (unless you can find a plugin), as well as edit sidebar.php with some fancy PHP, using <?php wp_list_authors(); ?>

    5. Does the theme have <?php the_author_posts_link(); ?> in the loop?

    Thread Starter Red Panda

    (@red-panda)

    Someone posted and the deleted but i thought i would point out i wanted to avoid using gravatars as it will be hard for me to get my authors to sign up to that (unless i can sign up for them)

    1. Does the index.php have <?php echo get_avatar( get_the_author_meta('user_email'), '70' ); ?> in the loop? (70 is the size, can be any number),
    and is “Use avatars” checked, in dashboard, under “Settings” > “Discussion”?

    2, 6. Avatars are created using https://www.gravatar.com, all authors need to make an account and upload an image. No other way to do it that I know of other than maybe a plug in (you can search for one)

    3, 4. A bit more involved, you need to make a custom template (unless you can find a plugin), as well as edit sidebar.php with some fancy PHP, using <?php wp_list_authors(); ?>

    5. Does the theme have <?php the_author_posts_link(); ?> in the loop?

    Thread Starter Red Panda

    (@red-panda)

    I was trying to avoid using gravatars but i just realised hen you asked about the index.php you meant the one in the theme. I replied before bu thought you were talking abotu the main index.php in the root folder.

    1. No it isn’t in the index.php i will start there and see if i can work something out.

    3. will look into this thanks.

    5. <?php the_author() ?> that is the only reference to author in the ‘loop’

    2,4,6 i think i covered already.

    Change all <?php the_author() ?>
    to
    <?php the_author_posts_link(); ?>

    Good tutorial on Authors page template (good resource site, over all)
    https://justintadlock.com/archives/2008/06/09/doing-more-with-gravatars-authors-template-page

    Thread Starter Red Panda

    (@red-panda)

    Thanks mate, had actually just worked that out, took a bit but with you help i learnt alot and think i have a good chance at this.

    Cheers.

    I just stumbled upon a post on here that said that to get the avatar image inside the loop, use this:
    <?php echo get_avatar( $post->post_author, 46 ); ?>

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Avatar driving me crazy – multi user site – 6 problems’ is closed to new replies.