Forums

A page per author listing all his/her posts (6 posts)

  1. karkaremtg
    Member
    Posted 3 years ago #

    I set up my first wordpress blog today, and it was a breeze. Kudos to the makers and contributors. I have a doubt though.

    We are going to have 2 contributors to the blog (say bruce and clark). My blog is hosted on the domain blog.companywebsite.com. Is it possible to set things up in such a way that the posts by bruce will be listed at blog.companywebsite.com/bruce and the posts by clark will be listed at blog.companywebsite.com/clark.

    I don't know whether this matters, but the theme i'm using currently is Carrington Blog (which looks really great btw.)

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Not by default. You'd need to set up 2 categories - "bruce" and "clark" - and each of your authors would then need to ensure that they post only to those categories.

  3. karkaremtg
    Member
    Posted 3 years ago #

    I created a category call "bruce" and posted a message with that category. When i go to blog.companywebsite.com/bruce, it gives me a 404. If i click on the category "bruce" hyperlink, i get redirected to blog.companywebsite.com/?cat=3.

  4. asechrest
    Member
    Posted 3 years ago #

    If you just want an author page for each author that lists their posts, this functionality is basically built-in to WordPress. I describe how to create a simple author page on my site. You can also download the author.php file I use for that article. The URL of the author pages is http://mysite.com/author/authorname.php. Additional reading on author templates.

  5. karkaremtg
    Member
    Posted 3 years ago #

    asechrest, esmi, thanks... i'll try this and get back

  6. asechrest
    Member
    Posted 3 years ago #

    If you want to go the category route, you'd have to do it like so:

    • Create the two categories and have each author post to the respective category
    • Create two new pages called Bruce and Clark
    • List only posts of category "Bruce" on the Bruce page. You do this by assigning a template to the page and then coding a custom query, or you could use a plugin but you'll have less control over how the posts display than if you code it yourself. You'd do the same for the Clark page.

    I don't know what your further goals would be but you may also want to hide those categories from the front page (plugin or hard-code).

    It seems to me, though, you maybe could just use the author template and link to it in your navigation.

Topic Closed

This topic has been closed to new replies.

About this Topic