• hi – in Kubrick ‘archives.php’ is the theme template, but what is ‘archive.php’ for?

    it only seems to be when I add code to ‘archives.php’ that I see anything.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Archive.php is the template file that is used to display category homes if there is no category.php.

    In Kubrick the archives.php is a custom page template, that lists the archives (i.e. monthly post listings) for your site automatically. You can see the custom page template stuff at the top:

    <?php
    /*
    Template Name: Archives
    */
    ?>

    Therefore you can select this and assign it to a page from the page template section of write, page.

    Thread Starter markoburns

    (@markoburns)

    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘kubrick: difference between archive.php and archives.php?’ is closed to new replies.