don't see templates drop-down on Page edit page (3 posts)

  1. zomigi
    Posted 7 years ago #

    I have a custom theme that contains a file named archives.php. According to http://codex.wordpress.org/Creating_an_Archive_Index, I should be able to create a new page, select Archives from the "Page templates" drop down box, and I'll now have an archives page. But I don't see any "Page templates" drop-down when I create or edit a page.

    How can I get my archive page created?

  2. mikejandreau
    Posted 7 years ago #

    It's likely that your theme file doesn't contain the bit of code that WordPress is looking for to determine that it's a page template.

    WordPress will be looking for something like this at the top:

    Template Name: Archive

    Without it, WordPress doesn't know that you've got page template files.

  3. zomigi
    Posted 7 years ago #

    That fixed it. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic