The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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

    This reply has been reported for inappropriate content.

    NVM, plugin found.

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed