WordPress.org

Ready to get started?Download WordPress

Forums

How can I add a category index page? (12 posts)

  1. Nos402
    Member
    Posted 9 years ago #

    This should be (and probably is) simple, but I can't figure out how to add a page to my theme that just lists the different categories (as links) and their descriptions. like this:
    http://www.burninglibrary.com/category.html

    I just switched fomr MT, so I'm still fresh off the turnip truck.

  2. James
    Happiness Engineer
    Posted 9 years ago #

    Go to Write/Write Page and see if "Archives" is one of the available page templates. If it is, you can make something like this just by selecting the template: http://www.macmanx.com/wordpress/archives/

    If it isn't, please write back.

  3. moshu
    Member
    Posted 9 years ago #

    @macmanx,
    I almost wrote a similar answer, but I got stuck on "categories and their description" part... Is there any way to include the description? I cannot recall anything.

  4. Nos402
    Member
    Posted 9 years ago #

    Forgive my newb-ness, but I can not find any drop down box or anything to select a "page tmeplate". I'm using Wp 1.5 if that makes any difference. I'm looking through the codex too to see what I can figure out.

  5. Nos402
    Member
    Posted 9 years ago #

    Slight progress: I added the "archives.php" template from the default folder into my custom folder and now I have the template selection box. I'll see what I can do from here. Thanks!

  6. moshu
    Member
    Posted 9 years ago #

    http://wordpress.org/support/topic.php?id=30011#post-169753
    And the Codex... Pages, Templates etc.

  7. Nos402
    Member
    Posted 9 years ago #

    Now I've made the page but can't seem to get to it. I always get page not found when I click on the page in my list of pages.

  8. Nos402
    Member
    Posted 9 years ago #

    sfor the spamming here. I think it had to do with me using the "pretty" permalinks, and somewhere along the way my .htaccess became read only.

  9. moshu
    Member
    Posted 9 years ago #

    1. Is your htacces file writeable?
    2. Name the Page something else than "archives"!

  10. Nos402
    Member
    Posted 9 years ago #

    Ok so I've got it working, but I wanted toknow if there is a better way to do this. What I have now is a link on my sidebar called "Archives". This is manually linked to the WP "page" I created that was "based on" the "archives.php" template from the default 1.5 theme. When you click the link it takes you to a page that displays the category and monthly archives, which is precisely what I want.

    Is there a more efficient way to do it? A way not have to use a "page" to do it?

  11. Root
    Member
    Posted 9 years ago #

    Nope. That is pretty much it unless you get involved in a lot of loop hacking.

  12. Kafkaesqui

    Posted 9 years ago #

    I'm using Pages for separate category and archive sections on my site. After looking at other tools and methods for doing this (that is, before 1.5), it's quite efficient as is.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.