[resolved] Create an archives page (9 posts)

  1. How can I create a page to list all my archives on? (like this)

    I've created a WordPress page, http://www.viper007bond.com/archive/, but of course I can't execute PHP in the page. Should I use a PHP execution plugin or is it easy to make a page that uses my template?

  2. lokjah
    Posted 9 years ago #

    lil different but I would suggest going thru chris's excellent tute.


  3. Lorelle
    Posted 9 years ago #

    Here is another article that might be of help for creating archives pages:

  4. moshu
    Posted 9 years ago #

    Viper, if you are using the Clean Archives plugin, the code that is seen on your page should be not in the content, but in the archives.php template. If you don't have it, create one in your theme. See also the Codex.
    Then create a new Page by using that template, don't write anything in the content area, just save it and you are done.

  5. http://codex.wordpress.org/Creating_an_Archive_Index worked like a charm. Thanks to all! :)

  6. Here's the result BTW: http://www.viper007bond.com/archives/ (I added a "s")

  7. Shirohagen
    Posted 9 years ago #

    OK, I followed this and created an archive page for my blog http://www.holster.co.uk/blog

    The result is here:


    but as you can see it hasn't included my sidebars etc and is a little messy. My theme is a tweaked version of Mike Little's Journalized.

    I've obviously done something wrong along the line somewhere, can anyone enlighten me?


  8. Shirohagen
    Posted 9 years ago #

    I have added the function from the Clean Archives plugin to the archive page above to add more detail but I'm still unsure as to how to get it to show my sidebars etc...

    Any pointers?


  9. Open up your page.php and use that as an example. My archive template is just a copy of page.php with a couple little extras thrown in.

    (Basically, you're gonna need to put in <?php get_sidebar(); ?>)

Topic Closed

This topic has been closed to new replies.

About this Topic