WordPress.org

Ready to get started?Download WordPress

Forums

Archive Index Steps (4 posts)

  1. greatbananas
    Member
    Posted 8 years ago #

    I'm trying to create an archive index using instructions from http://codex.wordpress.org/Creating_an_Archive_Index

    The Page

    Upload the archives.php in your theme directory (wp-content/themes/yourthemename/). Then from the Admin Panel, Write > Write Page, and choose Add a New Page:

    1. Give your new archives Page a suitable title like Archive Index. Leave the Page content blank.
    2. Under Page Options, set the Template to archives.php.
    3. Click Create New Page.
    4. Voila! Your archive index can be accessed at http://example.com/index.php?pagename=archive-index.

    The problem is in step 2. I don't see a Page Option that allows me to set the template. There's only Page slug, Page owner, Page Order, and Delete.

  2. moshu
    Member
    Posted 8 years ago #

    Do you have a deafult Page template (page.php)?

  3. greatbananas
    Member
    Posted 8 years ago #

    ah, thank you! that was the problem. I was using a custom theme and it did not have the page.php in there. I added the default page.php into the folder and that did not work. So I changed my theme to the default theme and that worked.

  4. moshu
    Member
    Posted 8 years ago #

    You can create your own page.php file in your favourite theme by saving your index.php as page.php... and editing/deleting out the tags you don't need. e.g. date, comments etc.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags