Creating an Archives page with list of posts within the unordered list (3 posts)

  1. ceee
    Posted 8 years ago #

    I'm trying to create an archives page which does this, if you're on a certain category:

    <li class="current-cat">Vegetables</li>
    <li>Asparagus with Soy Sauce</li>
    <li>Baby Bok Choy in Garlic</li>

    In other words, I'd like to have the posts themselves listed as well as the categories.

    I am able to use wp_list_cats to get the categories listed, and the_title seems to get the titles of that current category dumped onto the page... but I'd like to have them nested below the current category in a nice order like above.

    Any ideas?


  2. vkaryl
    Posted 8 years ago #

    Hmmm. Try Clean Archives Reloaded from


    No need to reinvent the wheel after all....

  3. ceee
    Posted 8 years ago #

    While that's a beautiful plugin, I don't believe it does what I need. I don't want it displayed by date, I want it displayed by Category.

    For instance, if you are on the category page


    you'll get the output of all the categories as well as the list of posts within the category which you are in.

Topic Closed

This topic has been closed to new replies.

About this Topic