• I would like to archive posts only after they have been posted for a specified time period like 1 month. I’m new to WP and don’t know much php.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Could you, please, define “archiving”?
    By default, WP will “archive” all your posts, meaning they are in the database from the first moment and they show up in montly archives list and/or catgeory archives list.

    So, what exactly is what you expect as “archiving”?

    Thread Starter mkallen

    (@mkallen)

    Like you said, WP archives everything by putting it in the database. On the index page, I would like to display all posts for the last 30 days. When a post has been on the index page for 30 days, it would then “roll onto” an archive index page. I’m not quite sure how I want to format my archive index – probably by month and category. Thanks for your help.

    mkallen – it actually can be done based on how often you think you’ll be writing. let’s say you’re going to write one post a week… then you go into Options -> Reading and choose either 4 or 5 (your preference) in the first box. That way it will only show the 4 or 5 most recent posts.

    If you’re going to do two posts a week, make it 8 or 10.

    Three posts a week, make it 12… and so on.

    I AM going to search for some sort of plugin for you, though… maybe a way to list them elsewhere by month/day what have you. I think I have one in mind…

    EDIT: http://www.sporadicnonsense.com/2005/04/28/clean-archives-plug-in/
    Try this one… it will sort your archives on a page for you by month and day… as can be seen on my site here: http://www.ladydelaluna.com/archives/

    Thread Starter mkallen

    (@mkallen)

    ladydelaluna – Thanks for your response. I will give the plug-in a try.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Archiving posts after specified period’ is closed to new replies.