Forums

displaying a different number of posts on main page vs archive pages (4 posts)

  1. fightfancom
    Member
    Posted 1 month ago #

    Is there an easy way to set-up wordpress so that I can display, say, 10 posts on the main page, but 100 on the archive pages?

    I've currently set-up my archive pages to show only post titles/links, so that they can easily handle displaying 100 or more posts.

    However, My main page shows exerpts and photos, so I don't want to load more than 10-12 posts at a time.

    When I changed the "Reading Options" in the Admin panel to display only 10 posts, it also changed that for my archive pages, which is undesirable.

    So for the time being, I've bumped that up to 100, but hardcoded the loop to end after 10 posts on the main page.

    I'm just wondering if there is a pre-fab solution, or something I am missing, before I go and hand code a solution.

    Any help would be appreciated :)

    PS - I did look through a bunch of the existing posts that seemed related to this subject, but didn't seem to find anything really relevant. Please forgive me if this request has already been addressed in another topic, because I must have missed it.

  2. focusorganic
    Member
    Posted 1 month ago #

    http://www.wp-plugins-db.org/plugin/different-posts-per-page-2/

    I haven't tried it, but it should do what you want.

  3. fightfancom
    Member
    Posted 1 month ago #

    Thanks man.

    That one doesn't look legit, but a couple of other legit plug-in options are referenced in it.

    I will give them a closer look tonight and see if they work.

  4. focusorganic
    Member
    Posted 1 month ago #

Reply

You must log in to post.

About this Topic