WordPress.org

Ready to get started?Download WordPress

Forums

Plugin: Author Image(s) (8 posts)

  1. Plugin: Author Image(s)

    Description:
    Display image (if present) and/or name for the author of a post, or for all authors on the blog.

    Details can be found at the plugin's homepage:
    http://www.coffee2code.com/archives/2005/03/28/plugin-author-images/

    All of my plugins can be found at:
    http://www.coffee2code.com/wp-plugins/

    What does it do?
    Two things:

    1.) Instead of using <?php the_author(); ?> to display the post author's name, you can use <?php c2c_the_author_image(); ?> to display an image (optionally in addition to the name) for the author instead.

    2.) In your sidebar, you can list all the authors for your blog using their image (optionally in addition to their name) by using <?php c2c_wp_list_authors_images(); ?> (the image equivalent to WP's wp_list_authors()).

    Notes:
    - Obviously, there are various preparations, settings and customizations you'll want to perform/check/change before plopping the above code into your templates.
    - CSS classes are assigned to the author images.
    - The custom field 'author_image' can be used to override the default behavior and allow defining a specific author image for that particular post.
    - Basically, read the plugin's homepage for more information about these and other tips.

  2. XeroCool
    Member
    Posted 9 years ago #

    You created 2 topics ;\

  3. Yeah, I know. I'm a dunce.

  4. maestro42
    Member
    Posted 9 years ago #

    cool ill use this thanks!

  5. lawtai
    Member
    Posted 9 years ago #

    heh, what would be great would be an addition to where it would also check to see if there are category specific images. So author image 1 for cat 1, auth image 2 for cat 2.

  6. kioshi
    Member
    Posted 8 years ago #

    I can´t get them to appear, installed the plugin, the directories, and it is set as users nickname, but just the nicknames appear. In the author bar there, (left bottom) you can see there´s just the names too. What could be wrong? Please help. If anybody asks I changed the author tags, and my nnick images are kioshi.jpg and johnny.jpg inside the wpcontent/images/authors/folder

    http://kioshi.org/gadgetboy/

  7. kioshi
    Member
    Posted 8 years ago #

    Though it seems to be working, it isnt. I just used a <img src="<?php the_author_nickname() ?>.jpg"> in the posts, as you can see the sidebar in left bottom is not working yet. Seems the plugins can´t get the pics in the directory...

    Thx!

  8. sikatzonline
    Member
    Posted 8 years ago #

    This plugin works well. But I wish it would be possible for authors to UPLOAD image via browser through the page editprofile.php (currently working on a page that would allow authors to edit their profiles OUTSIDE THE ADMINISTRATION PANEL. I hope it works).

Topic Closed

This topic has been closed to new replies.

About this Topic