I’m building a fairly large site that has a “most recent posts” section on the main page.
So far, I’ve been using the wp_get_archives function with good success to bring up a list of the most recent posts. However, I have different categories for different topics of posts, and I want to be able to style each post listed depending on what category it is from.
Is this easily done with wp_get_archives? Can I find a way to identify and style each post depending on category?
- The topic ‘Styling by Category using wp_get_archives’ is closed to new replies.