Archive list by individual posting (5 posts)

  1. DickMo777
    Posted 9 years ago #

    I'm a blog newbie, and this is my second post today to this forum. How can I modify the archive list to reference each individual posting instead of a month's worth? I'm using the WordPress 1.5 Default theme. My blog will consist of weekly essays, and each will have 1500 to 2500 words, so grouping about four to a page makes it a bit long.

    I'd like each archive reference to show the date and title of the essay, and that will require at least two lines of the sidebar, unless I can somehow move it to the bottom of the main text column. Can I do all this somewhat easily?


  2. wpdiva
    Posted 9 years ago #

    Hi Dick,
    I know there's a plugin called Clean Archives that will list each individual entry on a single page. Maybe that can help you achieve what you're looking to do, or at least provide some ideas. :)

    You can even see it in action on the author's archive page.

  3. DickMo777
    Posted 9 years ago #

    Clean Archives looks good, so I downloaded it and uploaded it to my plugin set. But the ReadMe instructions said to insert a string where you want the archives to be displayed -- your sidebar or a separate archive page. As is my usual confusion, I couldn't figure out which file to put it in: sidebar, achive, or archive.php.

    BUT: In looking into those files, I found that the Default WordPress 1.5 theme evidently provides for a daily listing in lieu of a monthly listing, and maybe all I have to do is select that daily listing. There is code including "elseif (is_day())" and "elseif (is_month())", such as:

    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>

    (Unless that feature was added when I activated the plugin, and isn't part of the Default.)

    Could I somehow just change the option from monthly to daily?

  4. moshu
    Posted 9 years ago #

    A wiser solution would be to go and edit the archive.php file (no plural S at the end!) - and replace the_content with the_excerpt.
    As a result, on your monthly archive listing no full text would be displayed, just (you guessed) and excerpt with a clickable title... so visitors can get an idea which one they would like to read :)

  5. vkaryl
    Posted 9 years ago #

    Dick, PLEASE upgrade to 2.0.4 before you do any more tweaking/plugins etc. There are some serious security holes in older versions.

    [Ah.... nev'mind me - it's the default 1.5 THEME you're using.... sorry!]

Topic Closed

This topic has been closed to new replies.

About this Topic