• Is there a plugin available that allows you to display a unique avatar for the particular user that has posted before the title. I know there is one that will show an image based on the category, or one that will display an avatar for commenters (well I think) but I am going to have about 5 users who will be posting on this blog and it would be nice to have a personal avatar for each of them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I don’t see why you couldn’t use the gravatar plugin. Just place the call where you want the avatar to be (as you do with the comments)

    You could also do something like have each of your users store an image on the server with their login or some other unique thing as the filename. And then you can call the image like this:

    <img src="images/<?php the_author_login(); ?>.jpg" alt="<?php the_author(); ?>" />

    I had each use insert this into their profile:

    <img alt=”userpic” class=”userpic” src=”/wp-images/thumb-law.jpg” />

    and then i used this to call the image: <?php the_author_description(); ?>

    each author would have their own individual picture, and i could also style it too. This works for me becaues I’m not using the author info for anything on my site.

    Newbie here, stumbling across this old thread – I’m still feeling my way through the set up – in what file & where do I put the call to the image? do I need to alter the style sheet at all?

    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Avatar with posts’ is closed to new replies.