Forums

[resolved] Author list (3 posts)

  1. delitfrancais
    Member
    Posted 3 weeks ago #

    I want to have a list of the authors of my webpage. wp list authors and Author Templates give the code to get the list, "n your sidebar (or elsewhere in your Theme)". However, I don't want to add the list in the sidebar, but in a specific page, and I don't know where somethere could be.

    Should I create an empty category and create a category-?.php and include the code to call the author list in this php page, so if someone click on the link to this category, (ex http://www.mysite.com/category/author/) he will not get a list of post under the category (because the code will not do so), but the list of authors.

    I know that I will have to create author.php for the template of the post list ex http://www.mysite.com/author/alfred/ for the list of the post by alfred.

  2. jonimueller
    Member
    Posted 3 weeks ago #

    Create a new page template called authorpage.php or something. Make sure you have the special page template code at the top. '

    Here's a link to the codex explaining how to create a custom page template. Once that's done, upload it to your theme's folder and it should be available for you to choose as a template when setting up your author page.

    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

  3. delitfrancais
    Member
    Posted 3 weeks ago #

    I did't know about the page template. Work perfectly.

    Thanks

Reply

You must log in to post.

About this Topic