Forums

[resolved] Listing Authors Names & Descritions (9 posts)

  1. phejster
    Member
    Posted 5 years ago #

    I'm trying to set up a page that will display information about each 'Author'. I want to display their name, their about description and their website.

    I've read a lot about author.php but couldn't find it in any of themes I looked at (even the default) and am really lost on how to do this.

    Has anyone does this already or have a clue about what I should do?

    Thanks!

  2. moshu
    Member
    Posted 5 years ago #

    Themes usually come without that template, which shouldn't stop you from making one...
    http://codex.wordpress.org/Author_Templates

  3. phejster
    Member
    Posted 5 years ago #

    Thanks for your help. I found how to create an author template and uploaded it and got it working - almost.

    See http://blogsgmfusor.setupmyblog.com/?author=3 as my example. I have this line of code that doesn't seem to be working...
    <h2>Posts by <?php echo $curauth->user_nickname; ?></h2>

    Should I have replaced user_nickname or is that some default?

  4. moshu
    Member
    Posted 5 years ago #

    I don't know anything about that template... however there are priceless resources at the bottom of the page I've linked to above.

  5. Kafkaesqui
    Moderator
    Posted 5 years ago #

    The benefit of an author template is to list individual author info and posts. Looking at your site you appear to want to list all authors (or rather, contributors) on a single page, so you may be better off with something like my All Authors *Page* template:

    http://wordpress.org/support/topic/34752#post-294192

    Check out the whole thread for information and other resources.

  6. phejster
    Member
    Posted 5 years ago #

    Kaf, Thanks for that!

    After some tinkering I figured out how to make a new page with the template and it's looking fantastic - http://blog.gmfus.org/?page_id=11

    Thanks again!

  7. phejster
    Member
    Posted 5 years ago #

    Kaf, if I wanted to list Authors and Editors on the same page and specify their role within their profile, how would I do that?

    I don't see anything in the code that jumps out and says "Get Authors" that I could add to.

  8. Kafkaesqui
    Moderator
    Posted 5 years ago #

    phejster, it would help to know if you want to list them under separate groupings, or just flag each user listed with their 'designation'?

    But no, there's nothing in the template which collects role information. But it could, so I'll plug away at it over the next day or so and post an update.

  9. Kafkaesqui
    Moderator
    Posted 5 years ago #

    My All Authors Page template (for WP 2) now lets you test on and/or display the user role:

    http://wordpress.org/support/topic/34752#post-294192

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags