Grow your CSS skills. Land your dream job.

WordPress Loop with specific number of posts

  • # February 3, 2013 at 4:17 pm

    I’ve worked with the WordPress loop before but in a very basic way. I’ve never really dove into it much. I’ve been playing around with it more lately on a little dummy site and I was hoping that someone might be able to help me with a few questions.

    – I want to limit the # of post to show by a certain category.
    – How can I make like an “add” show in between so many results?
    – I also want to paginate the results for when there are more than 12 posts.

    Example: I want 3 posts to show per row and I want 4 rows, so 12 post in total. But after the first six show, I want an add to show and then the last six.

    I’ve seen this done on multiple sites and just want to learn to use the wordpress loop more so that I can accomplish a lot more with it.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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