Forums

No Archives Template? (7 posts)

  1. teckn1caLity
    Member
    Posted 10 months ago #

    Hey,

    I have a question. I'm developing a site under a theme that doesn't currently have an archives template. How would I implement an archives template into my theme?

    Thanks in advance.

  2. Chip Bennett
    Member
    Posted 10 months ago #

    What do you mean by "archives template"? That term can have multiple meanings.

  3. teckn1caLity
    Member
    Posted 10 months ago #

    Actually, what I need was detailed very poorly. I need a page that displays categories and tags that doesn't look the exact same as the index page - or at least something I can customize.

  4. Chip Bennett
    Member
    Posted 10 months ago #

    Oh, then you'll want to create a custom Page template.

  5. alchymyth
    The Sweeper
    Posted 10 months ago #

    alternatively, you can create an archive.php template - possibly start with a copy of index.php - and edit to your needs.

    http://codex.wordpress.org/Template_Hierarchy

  6. Chip Bennett
    Member
    Posted 10 months ago #

    Hmm, let's clarify: do you want to be able to customize the Tag and Category Archive Index pages, or do you want to create a static Page that lists Categories and Tags?

    If you want to customize Category/Tag Archive Index pages, then archive.php is the template file to use.

    If you want to create a static Page that lists Categories and Tags, then you want to create a custom Page template.

  7. teckn1caLity
    Member
    Posted 10 months ago #

    I think what I want is Category and Tag Archive index pages, so archive.php is my best bet.

Reply

You must log in to post.

About this Topic