WordPress.org

Forums

[resolved] Different number of posts on page 1 (3 posts)

  1. jonvines
    Member
    Posted 12 months ago #

    Hi there,

    I am looking to display a different number of posts on page one of the blog. Basically, I need to show 5 posts on page one, then from page two onward I need to be able to show 10 posts per page.

    I thought this would be something I'd need to do in the loop, like a basic if statement on paged, to get the page number I'm on. But I can't see where the query states I'd like to return 10 posts. I also don't know how this would affect the settings in wp-admin.

    Any advice?

    Cheers,

  2. keesiemeijer
    moderator
    Posted 12 months ago #

    On what page is this? A category page, your home page or on a custom page template?
    And what theme are you using?

  3. jonvines
    Member
    Posted 11 months ago #

    It is the home page, and is a custom theme.

    I know I can change the number of posts via the admin page. But I want any subsequent pages after page 1 to return 10 results.

Reply

You must log in to post.

About this Topic