This project is read-only.

Display articles by category on home page.

Topics: ASP.NET 2.0, Themes
Sep 2, 2011 at 10:17 PM


I'm trying to find a way to display posts on the front page by category. So, if I had a category called "Foods", I'd like to display all and ONLY posts on the front page that are in the "Foods" category. 

Is this possible? I've been playing around with the themes I have and have not been able to accomplish this.



Sep 5, 2011 at 12:05 PM

Yes, if you add the Categories widget to your blog, it will expose links to view all posts for a particular category.  Most themes also include category links at the bottom or top of each post.

For example, on this site, you can see the category links in the upper left.  And at the bottom of each post, there is a "Posted in" line of text, and the categories tied to that post are linked.