Grow your CSS skills. Land your dream job.

WordPress: one category 3 per page, other category 10 per page

  • # January 2, 2012 at 10:57 am

    My WordPress site has two types of categories: property listings and editorial articles. I want to have two separate pages, listing the posts in these categories, but they have some different properties.

    One page should list ONLY the posts in the property listings category, and 10 per page.
    Another page should list ONLY the posts in the articles category, and 3 per page.

    Both should have the regular “previous” and “next” links (or “older” and “newer”) so it can loop through the posts in their resp. categories. Now I can’t set this in the general settings (“Blog pages show at most X posts”) because this differs between categories.

    I’m sure it’s a simple piece of code I should use, but I’m at a loss here.

    Help appreciated!

    # January 2, 2012 at 2:34 pm

    NVM, plugin found.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".