WordPress.org

Ready to get started?Download WordPress

Forums

exact number of post on index page (1 post)

  1. grzes
    Member
    Posted 7 years ago #

    Hello!

    how can I display exact number of recent posts from single category (i.e books) on my home page (index.php)?

    Problem description:

    Within index tempate I`m doing exclusion of all categories with the exeption of selected one (books). Max number of posts per page option in WP admin is set to 5. There are 7 posts in books category - but only 3 are displayed in first page and then 4 in second page. I would like to force WP to display always 5 in first page and 2 in second (this is of course simplified example) - as it happens when I click view category page for books.

    How can I make my category page (i.e books category) to display as index page?

    Regards,
    grzes

Topic Closed

This topic has been closed to new replies.

About this Topic