1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

show 2 posts on index and category pages of a wordpress blog

Discussion in 'Blogging' started by lucabrasi, Dec 12, 2013.

  1. lucabrasi

    lucabrasi Regular Member

    Mar 22, 2010
    Likes Received:
    Layed off from real job but working at a survival
    Pacific Northwest, Oregon Washington border
    Home Page:
    How do I show two posts on index and category pages of a wordpress blog. I can't figure out this loop thing and all the examples I have found are of earlier versions of wordpress. I was able to locate the code for 2 posts on on wordpress.org but the code doesn't look the same when I try to add the code to WP 3.71.

    Is there a plugin that I am not aware of that can do this. I want 2 on index and category pages but only 1 on the rest of the pages.
  2. pitbully

    pitbully Regular Member

    Aug 14, 2013
    Likes Received:
    To be honest I'm not completely sure what you're looking for, but one of the things I like most about wordpress is that there's almost always a plugin for any function that isn't extremely complex. I use a plugin on one of my sites that let's you control the amount of posts on certain pages I think it's called "posts per category" or something similar to that. There's a few of them.