Recent post for each category

My site has a cover that I want to display the most recent post for each category. How do I filter?

What have you tried so far?

Nothing really. I’m very new.

This is very open ended. Do you have your source available for us to download and test? If you’re very very new, you can even send a site that demonstrates what you are trying to achieve, and we can formulate a recommendation around that.

The idea is much like this:

But instead, i want to limit one post per category. Also, i’m using custom taxonomies

  categoria ="categorias"

Found what i was looking for:

Just removed $key since I just need the post names and replaced featured with categorias

1 Like