I haven’t seen that exact thing done as you describe, but I have seen an author “block” or “blurb” at the bottom of a post on individual entry pages in a theme called Mimbo. Is that what you want? You would add this code beneath the post code in your single.php file:
<div id="writer">
<img src="<?php bloginfo('template_url'); ?>/images/<?php the_author_login(); ?>.jpg" alt="" />
<?php the_author_posts_link('namefl'); ?> is <?php the_author_description(); ?>
<a href="mailto:<?php the_author_email(); ?>" title="Email this author">Email this author</a> | All posts by <?php the_author_posts_link('namefl'); ?>
</div>
And you’d need to create the images for each author (headshot or avatar) and save it in your theme’s /images folder. And name it whatever the author’s name is, exactly as written. For example, for your own, you’d create an image called Jackie.jpg and upload it to the /images folder.
And you can style that division #writer however you want in your stylesheet. Put a border around it, make it a different color, etc.
HTH.
Thread Starter
kenoki
(@kenoki)
Perfect!! Thank you. I basically left it to just this part of the code you provided:
<img src="<?php bloginfo('template_url'); ?>/images/<?php the_author_login(); ?>.jpg" alt="" />
Which did exactly what I was hoping. Thanks so much!
Jackie
You guys are great for posting this. It’s exactly what i was looking for. 🙂