User Icons (6 posts)

  1. borgo
    Posted 11 years ago #

    Hi !
    I believe i'm in the good section for my query.
    We are two authors on my blog and I'd like to add a specific Icon on the right side of the post in order to visually identify faster yhe author. I've been looking around support and haven't found anything on this.
    Any clue ?

  2. NuclearMoose
    Posted 11 years ago #

    Googling "site:wordpress.org image for author" gave these results.

  3. satoshi
    Posted 11 years ago #

    I set something like this up once: http://www.trashfolder.org/ffxi/.
    I'd give you code, but the template for the index.php seems to be giving me the default code...

  4. satoshi
    Posted 11 years ago #

    Alright, here we go:
    <img class="autimg" src="authors/<?php the_author() ?>.gif">
    Just set up a folder called authors (or change it how you like) and put gif files there (or images of another format, just don't forget to change the img tag) with the names of the author(s). Of course, you need to set up your stylesheets and such to your preference, but that should be no problem.

  5. borgo
    Posted 11 years ago #

    Thanks i'll give it a try straight away ;)

  6. tbag
    Posted 10 years ago #

    Im new to php:

    where would you put that piece of code if u want it to post in the post's title (where the date is etc)?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.