WordPress.org

Ready to get started?Download WordPress

Forums

Archives & Pages (2 posts)

  1. Jaxia
    Member
    Posted 9 years ago #

    Okay, I want to tweak my template for an archives Page.

    I created a Page called STB Archives (I had 'Archives' at first, but deleted and created STB Archives because after reading the forum, I thought it might fix my problems). Now, I've read this page: http://codex.wordpress.org/Pages#Pages_can_use_Different_Templates

    and I cannot figure out how to get anything to show up in the drop down. I have a file called archives.php and stbarchives.php (in the folder with my current theme) with this in the header:

    <?php
    /*
    Template Name: Archives
    */

    Shouldn't the drop down list default, 404 and archives? Right now, I only have default and 404.

    (Also, is there a way to have more search results show? I'm sure some of my n00b questions have been asked and answered, but can't find a 'see more search results option')

    Thanks!

  2. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    Do both archives.php and stbarchives.php have the same Template Name: "Archives".

    If so, that might be the problem. Each Page template needs it's own, unique Template Name.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.