Support » Fixing WordPress » How to use archives.php of Ryan’s Kubrick theme

  • I have been trying to make use of archives.php of Ryan’s Kubrick theme like
    So far I know this has to do with page templates. But I am unable to go farther than this idea. Any help is apprciated. I have the default the install of 12/19/04 nightly with kubrick dropped in.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m using 1.35a and have an archive page at and thats the look you’re going for, this is the code I use:

      <?php include "kubrick-searchform.php"; ?>


      <?php wp_get_archives('type=monthly'); ?>


      <?php wp_list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>

    <h2>Recent Posts</h2>

      <?php get_recent_posts(); ?>

    <h2>Recent Comments</h2>

      <?php get_recent_comments(); ?>

    You can edit it to you heart’s content to get your desired effect.

    by the way, the searchform uri you’d need to change…also, the ‘recent comments’ is something you have to change in my-hacks.php for that php call to work….

    Thanks Ian, My problem is that I get a 404 Page not found error when I goto
    Please be aware that it is a Hindi site so you might see junk chars. Also notice that this archives.php is in the
    directory while we try to access it from the root of the blog.

    ahh yes….i seem to remember having a time w/ this myself…I think I edited the uri path that called for archives.php to make it an ABSOLUTE path… other words, instead of it linking to /archives.php it now links to the ABSOLUTE path of;.

    Finally solved the problem. As usual the solution is simple once I have figured it out. But before that kudos to Ryan and developers for the nice page templates. I am testing this WP 1.3 alpha-5. Now here is the skinny
    In Ryan’s adaption of Kubrick theme, he has included links.php and archives.php page templates. I was trying to get these puppies working. The way to get these working is to create empty pages and assign the respective templates to them. For example let us say you want to get links.php working
    1. Make sure you have the links.php in the themes/kubrick/ directory. It is there in Ryan’s Kubrick RC2.
    2. Goto Write->Write Page
    3. Give the Page Title, nothing in the page content.
    4. MOST IMPORTANT – from page templates dropdown choose the Links template and click on Create New Page.
    5. Now you can check your Links page by visiting http://{blog url}/index.php?pagename=links.
    6. If you are using nice permalinks You would also notice that permalinks structure has also changed to incorporate this change. For example above might come as
    RewriteRule ^archives/?$ /blog/index.php?pagename=links [QSA,L]
    You want to make sure your .htaccess is updated accordingly.
    Thanks everyone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to use archives.php of Ryan’s Kubrick theme’ is closed to new replies.