How to limit number of posts on homepage

  • Unknown's avatar

    Hello,

    I would like to limit the number of posts on my homepage so that the site loads quicker. Can anyone help me with this?

    Thanks

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    It looks like you might have already acquired the necessary information, because the site https://songsthatilike.com is displaying the latest five posts on the homepage, with an “older posts” link that adds five each time it is clicked.

    Steps to setting the post per page limit:

    1. Disable infinite scroll. See the Disabling Infinite Scroll section of the Infinite Scroll support page for instructions.

    2. With infinite scroll disabled you may set the number of posts displayed per page at My Site(s) > Settings > Writing > Content types. The number can be changed by simply clicking on the up/down arrows. When you’ve reached the desired number, save the change. See the Content Types section of the Writing Settings support page for relevant instructions and illustration.

    Note that this setting not only affects the blog page, but also all archives pages such as year, month, and date archives, category and tag archives, author archives, etc.

  • Unknown's avatar

    Unlike some themes where the “Older Posts” button at the bottom of each page of the blog page links to the subsequent page that displays the next group of “n” posts, where “n” is the posts per page limit set a Writing Settings > Content Types, on the Button 2 theme, the “Older Posts” button adds another “n” posts to the homepage each time it is clicked. I don’t think that behavior can be changed if that was your goal. That’s the way the theme is designed to work.

  • The topic ‘How to limit number of posts on homepage’ is closed to new replies.