Forums

Categories on authorpage (2 posts)

  1. schloothiessie
    Member
    Posted 3 years ago #

    Hi everyone,

    I have a question:

    is there a way to show the catogories on the authorpages which only show the posts of the particular author?

    I'm planning a multi-author blog. When you click on the author's name, the author page will show, like a micro-blog inside the main-blog.

    Can I do this by manipulating the wp_list_categories()-function functions.php (add a parameter for the author)?

    Maybe someone has an idea,

    thanks,
    Eddie

  2. stvwlf
    Member
    Posted 3 years ago #

    That would involve custom programming. As an alternate approach, would it work to have a parent category for each author, and sub-categories of their categories? Then for each author you could start the category tree with that author's parent category, displaying only the children of that parent.

    If you need site-wide categories as well then each post would have to be assigned to two categories. In other words

    News
    Events
    Author A
    News
    Events
    Author B
    News
    Events

    If you want the ability on some page to show News and Events across all authors then a news post must be assigned to the general category News as well as the News under Author A.

    The advantage of this approach is no custom programming is necessary. The disadvantage is requiring two categories per post.

Topic Closed

This topic has been closed to new replies.

About this Topic