• insertnamehere

    (@insertnamehere)


    I am new to word press and am starting an online magazine for my company. I need a page that lists the bios of all the authors with a picture and link to all of their posts. I know how to list all their posts but I am not sure how to list all the bios on one page. Any advise/code/info would be appreciated. Just need pointed in the right direction. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looking for the dame thing. Anyone?

    This post will help you get started. http://codex.wordpress.org/Author_Templates

    It doesn’t talk about images, but you can just include a spot for images that are jpegs using the username for the filename of the images and put all the images in the same spot on the server if you have FTP. Or you can use the default image location when images are uploaded via the normal upload route when creating a new post. Here’s coding example of either:

    IF YOU HAVE FTP ACCESS TO THE THEME IMAGES FOLDER:
    <img src=”<?php bloginfo(‘template_directory’); ?>/images/<?php echo $curauth->user_login; ?>.jpg” alt=”<?php echo $curauth->display_name; ?>” align=”left” />

    IF YOU TRY TO USE THE DEFAULT IMAGE UPLOAD FUNCTION (may not work):
    <img src=”http://[YourSiteURL]/wp-content/uploads/&lt;?php echo $curauth->user_login; ?>.jpg” alt=”<?php echo $curauth->display_name; ?>” class=”authorphoto” />

    The problem with the latter option is that sometimes uploads are organized by year. That would be problematic for you if that’s true. There is probably a way to modify WordPress to do it differently, but I haven’t looked into it.

    Notice that you need to have the variable “$curauth” set first. That’s in the directions at the link at the top. You’ll probably also need to stop the code clean-up in author descriptions/bios. Follow these directions. The code they have you add works anywhere in that file. http://wordpress.org/support/topic/167357

    FYI–I don’t check this often. So, I may not be able to answer your questions if you have any. I simply hope this helps a little.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List All Author Profiles’ is closed to new replies.