WordPress.org

Support

Support » Plugins and Hacks » custom slugs for author archives for each different role

custom slugs for author archives for each different role

  • robarwebservices
    Member

    @robarwebservices

    Currently, my wordpress is configured to display author archives (using authors.php) at the following url:

    site/users/[username]

    I would like to be able to have different slugs for each of the different roles. E.g.

    site/subscribers/[username]
    site/contributors/[username]
    site/authors/[username]
    site/editors/[username]
    site/admins/[username]

    …and so on. I know how to create the page templates for each, but I just don’t know how to make the permalinks work this way, or how to dynamically compile the URI for each link to an authors.php page in the template.

    Any advice?

  • The topic ‘custom slugs for author archives for each different role’ is closed to new replies.