The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End most recent post from each selected categories Re: most recent post from each selected categories


Hi Chris,

I don’t have a quick answer for you. Here’s some info that may help you figure it out:

The code you supplied is the WordPress Loop that spits out the content of your posts. The Posts that you display is actually requested earlier.

You should be able to add an if statement inside the loop like this:


You’ll have to customize it to look for a variable that is only set if that category has already been filled up… make sense?

You could probably do three separate "Loops" that only spit out one post, and make sure that post is from a certain category.

I hope that points you in the right direction.