• Forgive me if this is a very basic question as I’m new to both WordPress and blogging! I understand that posts will be archived automatically according to month/year, but do the original posts all remain on the main page regardless of age? If so, is there a way to prevent posts from being visible on the main page when they are older than a certain length of time?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • In theory there is:
    admin > Options > Reading: Show at most posts/day
    Warning! There have been reports about this (by day setting) feature not always working properly…

    And if you are new it is always a good idea to go around the admin panel and check out all the options you have, in other words: learn the tool you are using!

    Thread Starter pepperpod

    (@pepperpod)

    Thanks for the suggestion. I’d already looked at that reading option and found that it broke up the main page into chunks of “Next” pages, but that’s not really what I had in mind. I was hoping there might be some way of not displaying postings in the main page(s) which were flagged as older than, say, 3 months, but retaining the option of still seeing them in the Archive section. If that’s not possible, can posts be moved manually out of the main page into the Archive section?

    Thanks.

    Starting with the last question – NO. Posts are ALWAYS in the same place, you don’t move them 🙂

    You can simply remove the next/prev code from your index if that bothers you (though the navigability of your site will be diminished)

    Where the Next?prev is included it depends on how your WP is set up. If I have 14 posts and the Reading options is set to 14 (or higher) – there is no Next.
    If is set to 10 – the Next will appear.

    If yours is set to 30 days, and you have posts older than that – the Next thing appears. Isn’t it the expected behavior? And after clickcing to display the “next chunk” of 30 days (i.e. posts 31-60 days old).

    Thread Starter pepperpod

    (@pepperpod)

    OK Moshu, I think I understand what you’re saying. If, for example, I remove the next/prev code from the index and set the reading option to 3 months, that will display all postings up to 3 months old, and nothing older, in the main page, right? Anything older than 3 months wont show, but will still be viewable from the Archives, correct?

    That will achieve what I want in a slightly different way from what I was expecting. I thought maybe there was something in the code which calculated the age of a post, and if the age was greater than a certain value, the post wouldn’t be displayed in the main page, even though it was still in the database, and would be viewable in the Archive.

    Thanks again, and apologies for my naivety!

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

The topic ‘Archive’ is closed to new replies.