• Resolved Martin

    (@thericepost)


    I’m just starting to build my first site with WP and have a very fundamental question about how it works in relation to posts vs. archives.

    On my home page I’ll have a series of new posts. I know when I make a post, there’s an archive page for the current month that contains the post.

    If, on the second day I want new posts on the home page and want to remove the posts from the day before by deleting them in the admin area, will the post still remain on the archive page for that month or on the category page for that post?

    If so, great. If not, how do I keep the home page from growing endlessly long?

    Thanks in advance.
    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Make use of the WordPress Setting posts per page, you can find it @ Settings->Reading-> on your WP Admin Navigation bar.

    When a post is deleted it will not be referenced in the archive page as the archive page only submits a query to view the results, once the post is deleted it will not be in the database.

    Thread Starter Martin

    (@thericepost)

    Thanks so much, tiaanswart. A bit after I posted I felt like kicking myself when I realized that all I had to do was make a post and then delete it to see if it remained in the archive. I did it, and saw that it didn’t stay.

    I was just about to come back here and apologize for my lack of thought, when your post came in. And, of course, Now I know how to solve the endlessly long problem through the posts per page, which I probably wouldn’t have figured out without your help.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posts vs. Archives — how does it work?’ is closed to new replies.