View previous topic :: View next topic |
Author |
Message |
septembersky
Joined: 19 Nov 2004 Posts: 6
|
Posted: Sat Jan 01, 2005 10:53 pm Post subject: Replace author name with image? |
|
|
How do you replace the author name on your blog, with an image? Like on: http://www.kiss-my-kitty.com ?
I tried searching for it, but couldn't find anything that could help me. |
|
Back to top |
|
 |
Jennifer
Joined: 11 Aug 2002 Posts: 23 Location: Ronks, PA
|
Posted: Sun Jan 02, 2005 8:07 pm Post subject: |
|
|
Hey. I didn't bother "replacing" the author tag. I just put in an image beneath the coding for each blog entry. It kind of looks like this:
Code: |
<?php the_content() ?>
<div align="right">
<img src="...
</div>
|
Edited to add. If you wanted to actually edit/modify the author tag so that an image would show up for each author, you would do something like this:
Code: |
<?php the_content() ?>
<div align="right">
<img src="<?php the_author() ?>.gif" width="50" height="50" border="0">
</div>
|
You would just need to upload an image named author.gif (where author is the name of the author of the entry, obviously).  _________________ 10-27-04: Mommy to Alyssa!
kiss-my-kitty.com | seduced-boards.com |
|
Back to top |
|
 |
septembersky
Joined: 19 Nov 2004 Posts: 6
|
Posted: Sun Jan 02, 2005 8:14 pm Post subject: |
|
|
Thanks for the help! Haha, I didn't think you would be the one to reply Thanks! |
|
Back to top |
|
 |
Jennifer
Joined: 11 Aug 2002 Posts: 23 Location: Ronks, PA
|
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
|
Back to top |
|
 |
|