Forums

[resolved] Archive Template Issue (WP 2.7.1) (4 posts)

  1. pntaylor
    Member
    Posted 3 years ago #

    I'm trying to add an archives page on my blog over at my blog. Now there is an Archives.php in my theme and if you select a month from the archives widget (click navigation at the top) it loads up fine. However I'd like a page and when I edit the page (even quick edit) I can't select the Archive template. I've tried switch to the classic theme, select archive template there then switch back but that didn't work.

    Any thoughts?

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    However I'd like a page

    Can you expand on that... You'd like a page that does what?

  3. buddha trance
    Member
    Posted 3 years ago #

    That's probably because you don't have a template for that.
    Just create one, and call it page-archives.php, and it will appear in the template drop down list.

    Look at the template from the Default theme, to get an idea.
    Also, read this
    http://codex.wordpress.org/Creating_an_Archive_Index

    Start your template with

    <?php /*
    	Template Name: Archives
    */ ?>
  4. pntaylor
    Member
    Posted 3 years ago #

    Thanks for the advice buddha trance, I'll give that a shot and see how it goes. It's not the end of the world it would just be nice.

Topic Closed

This topic has been closed to new replies.

About this Topic