• Resolved tonygeer

    (@tonygeer)


    Is it possible for me to create an archive for each category?

    Ideally what I’d like to do is create a page, for example domain.com/catname/archive (using a template?) for each of the categories, and have a listing in the sidebar for each month. By default this page would show x number, and be paged, so that if there were 3x number of posts in that category, it would have 3 pages.

    Is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you are NOT talking about Pages – everything is done out of the box.
    Clicking on a name of a category – it shows exactly that: category archives.

    The rest doesn’t really make sense, sorry. Single post are just that: single posts and they have nothing in common with category archives.

    Thread Starter tonygeer

    (@tonygeer)

    I’m sorry if I didn’t explain this properly. Let’s say I have only two categories, CatA and CatB.

    If I use the get archives function, it’ll list all the months that I have made blog posts. And let’s say I click on January 2008, it will show me all the posts in CatA and CatB that I made during that month.

    I want to be able to show two lists of monthly archives, one for each of the categories. So the first list will display the months that I made posts in CatA, and clicking on one of those months will only show posts from CatB.

    Likewise the second list will show months in which I made a post to CatB, and clicking on one of those months will display only those posts that I made in that month under CatB.

    Is this any clearer?

    I want to be able to show two lists of monthly archives, one for each of the categories.

    Unfortunately there is no function to show category archives by months. There were several attempts to hack it – search the forum.

    Thread Starter tonygeer

    (@tonygeer)

    I found exactly what I was looking for here:

    http://kwebble.com/blog/2007_08_15/archives_for_a_category

    If you use it, also remember to go into the options area and turn off canonical URLs so that it works properly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Create an archive for each category?’ is closed to new replies.