Wordpress - limit number of articles on home page

Discussion in 'WordPress' started by ~kev~, Jun 4, 2008.

  1. #1
    Using wordpress, the latest version, how do I limit the number of articles on the home page (index.php)?

    Lets say I only want 5 articles on the home page. When I publish that 6th article, I want article 1 to be moved off the front page and only appear in the category it was published under.

    So when I have 50 articles published, 45 will be in the categories and 5 will be in the home page, and so on.
     
    ~kev~, Jun 4, 2008 IP
  2. amol_cool

    amol_cool Guest

    Messages:
    855
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there is a option is settings if you are using WP version 2.5 where you can limit the number of posts. Default number of posts are 10. You can change it whatever you want... the old ones will go under their respective categories then by default..
     
    amol_cool, Jun 4, 2008 IP
    ~kev~ likes this.
  3. BANAGO

    BANAGO Active Member

    Messages:
    456
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Setting => Reading => change the number you see on the page.
     
    BANAGO, Jun 4, 2008 IP
  4. USAWP

    USAWP Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Using Wordpress how can you limit the articles just on the Main Index Template?
    If one wanted to show only 5 articles on the home page and the regular 10 on the rest?
     
    USAWP, Mar 7, 2011 IP
  5. mccomf

    mccomf Active Member

    Messages:
    517
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    It will not work in default WP theme.Individual Pages can be set to use a specific custom Page Template.
    WordPress can be configured to use different Page Templates for different Pages.
     
    mccomf, Mar 8, 2011 IP
  6. anjalina

    anjalina Member

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    There is one option where you need to set up that how many posts you want to show on index.php page. Mostly blogger show 10 posts on home page.. you can set up, just go through Setting > Reading
     
    anjalina, Mar 8, 2011 IP
  7. kgillaspy

    kgillaspy Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yep, version 3.1 still has the option available under settings->reading on the admin page. Enter a number in the field that says "blog pages show at most_____".
     
    kgillaspy, Mar 8, 2011 IP