display thumbnails in a list from a specific category.

Okey, so you want to display thumbnails from the “featured image” field in the post editor, in a list on a page/post, but only want to display the thumbnails from a specific category? Well, where it is.

numberposts=6 is the number of thumbnails to show.

cat=3 is the ID of the category. (you can exclude categoryies too, just put a – in front of the ID. Like “cat=-3”)

This needs to be in one loop.

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!