Forums

Yearly archive using index.php instead of archive.php (2 posts)

  1. raquia
    Member
    Posted 2 months ago #

    Hey, Well the title says it all, I have made a custon archives page (archives.php) that lists months and years, all the monthly archives work, and use the archive.php page. the Yearly archives.. use the index.php template... which is a huge problem for me.

    I havnt done anything radical to my system and unless the wordpress template hierarcy has changed the yearly archive should use archive.php if it is present and not jump the gun to index.php?

    Can anyone help? i cant seem to find anything on the subject.

  2. MichaelH
    moderator
    Posted 2 months ago #

    Note: archives.php is not the same as archive.php.

    Template_Hierarchy#Date_display says it should use archive.php.

    What happens if you change themes? Also, is there a plugin causing that?

Reply

You must log in to post.

About this Topic