• ebonmuse

    (@ebonmuse)


    Hey all,

    I’m having a bit of trouble getting archives on my site to work. Ideally, I’d like to have a page that lists all the posts I’ve ever put up on my site, categorized by month. I’ve followed the advice at https://codex.www.ads-software.com/Creating_an_Archive_Index exactly, but it doesn’t seem to work.

    When I create the new page, there is initially no dropdown at all under the Custom Fields section. When I create the page and go back to edit it, the dropdown does appear, but when I select _wp_page_template and fill out the Value field just as the codex page says, and try to add the custom field, the addition doesn’t take; if I go back to edit the page again, no custom fields are listed.

    I can get the custom field to stick if I put something into the Key field, but in either case, when I visit the newly created page, it’s just a blank page using the standard template and doesn’t show any archive listings. Anyone have any advice on what I’m doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The advice on that page is for 1.5 and I don’t know if it also works for 2.0

    There are plugins that do the trick though ?
    https://katesgasis.com/2005/06/25/kg-archives-v21/
    is one such plugin

    barista

    (@barista)

    It might be the theme you are using. I just upgraded from 1.2 to 2.0, and I’m thrilled with all the plugin gadgets and such. On my old version I had the archives on a separate static page, so I came here trying to figure out how to do it with the “Write Page” feature.

    The link you supplied (thank you) didn’t work when I was using the Classic theme, but it did (more or less – no sidebar included) with the Default theme. I think for the Classic theme (and maybe some others) I will have to create a static page again.

    barista

    (@barista)

    I’ve been doing a little playing around and noticed a few things. In the Classic theme folder, there were no archive.php or archives.php files. I copied and pasted them from the Default theme folder, and now my archives page works – without having to create a static page. I did get an error regarding searchform.php but when I copy/pasted that (and search.php for good measure) the error went away.

    I chmod-ed (made writable) the archive.php and archives.php files so I could rework them in the WordPress Theme Editor. I think I can tinker with them and make them looking spiffy – with the regular sidebar. That way I can eliminate the searchform.php, probably.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not quite getting this archive thing’ is closed to new replies.