The MU forums have moved to WordPress.org

How to move posts to 'archive' (3 posts)

  1. stacylee
    Member
    Posted 14 years ago #

    Right now I only have 4 posts, and they are also showing in the categories I have assigned them to. How can I get them to go into the archives? I would prefer to only have the 2 post current posts showing.
    Thanks,
    newbie Stacy

  2. mdvaldosta
    Member
    Posted 14 years ago #

    You can't "move" them on a case-by-case basis, not without a plugin at least, but you can either hardcode into the theme you're using to only display a certain number of posts on that page (home, index, archive, etc). Or, you could have all pages only show a certain number of posts from wp-admin, but that would also affect the archive. I'd consider editing/creating a home.php and using query_posts before the loop to limit the display just on the homepage.

    http://codex.wordpress.org/Template_Tags/query_posts

  3. andrea_r
    Moderator
    Posted 14 years ago #

    "I would prefer to only have the 2 post current posts showing."

    Go to Settings -> Reading. There's an option there called Show Posts. Fill it in with 2 and it will show only the last two posts on the front page.

    And also two posts on any archive pages.

About this Topic

  • Started 14 years ago by stacylee
  • Latest reply from andrea_r