WordPress.org

Ready to get started?Download WordPress

Forums

Adding an author listing index (4 posts)

  1. Russell Heimlich
    Member
    Posted 4 years ago #

    I want to create an index page listing all of the authors of the blog which would live at example.com/author. Example.com/author/rheimlich works just fine but example.com/author returns a 404.

    I know about the template tag wp_list_authors -> http://codex.wordpress.org/Template_Tags/wp_list_authors I just can't get a working page to display at /author.

    It should be noted I am using a custom permalink /%category%/%year%/%postname%

    I guess I could make a category called 'author' and then create a PHP file for my theme called category-xx.php and make my author index page that way. The problem is this adds unnecessary categories.

    Does anyone know of a more elegant solution?

  2. s_ha_dum
    Member
    Posted 4 years ago #

  3. Russell Heimlich
    Member
    Posted 4 years ago #

    I have but that only controls the author page i.e. example.com/author/rheimlich not example.com/author/

  4. s_ha_dum
    Member
    Posted 4 years ago #

    Go to wp-admin->Pages->Add New and add a page named 'author' using the author.php template or create another template-- author-index.php-- and use that for your author page and let author.php only handle named authors if you'd prefer.

Topic Closed

This topic has been closed to new replies.

About this Topic