WordPress.org

Ready to get started?Download WordPress

Forums

Category archives - list of posts divided by month (4 posts)

  1. Bonnie
    Member
    Posted 8 years ago #

    I've searched the forums already but haven't come across a solution to this problem. It seems fairly simple but I'm not sure what I should be searching for exactly. I'll try to explain.

    I have numerous categories on my website and they each have their own individual category templates, e.g. category-1.php, category-2.php, etc.

    What I would like to do would be to display one of my category index pages in the following way:

    March 2006
    Title
    Title
    Title

    February 2006
    Title
    Title
    Title

    Does anyone know how I'd go about doing that for an individual category, including posts from that category only? So far all I have is a chronological list of posts, but it's not divided up into months.

    On the same page I would also like to include links to the years for that category only, as well. So just like this:

    ARCHIVE
    2006
    2005

    ... etc. But only for that one category.

    Any ideas? Thanks in advance for any help, and I'm really sorry if this has been asked before.

  2. parakeet
    Member
    Posted 7 years ago #

    Me too; I want to do this. I can't find the answer, for the life of me. Any ideas?

  3. moshu
    Member
    Posted 7 years ago #

    Why is that the art of searching is among "endangered species"?
    http://www.sporadicnonsense.com/2005/04/28/clean-archives-plug-in/

  4. parakeet
    Member
    Posted 7 years ago #

    moshu; believe me, I've searched, I'm also trying to hack some code together myself (http://wordpress.org/support/topic/86806?replies=7#post-449017). Have also seen http://wordpress.org/support/topic/47693?replies=4, for example.

    I already use this SRG Clean Archives plugin to display a complete archive on a separate static page. What we are talking about here is to display the output of WordPress' actual archive pages (category and date) in the same way, not on a master archive page.

    If it's possible to use clean_archive on an archive page, I'd like to know; but I haven't been able to get that working.

Topic Closed

This topic has been closed to new replies.

About this Topic