Hello everybody!
I've tried searching but nothing came up in Codex. Please help me find a solution, it's very important to me.
There are two categories on my site for which I need single post pages look differently. One category is News, so each news post will only need to have a date/time. The other is Articles in which every article will need to have a source named/linked (a newspaper, magazine, website etc.), but don't need to have a date. So, I'm using the same div container to display different information depending on a category to which the post belongs. If it's a News post, then the date and time should be displayed, and if it's an Article, then the source should be displayed instead (I'm using post_meta for that).
Is there a way to do that? It's easy with displaying different categories differently, but I found no information on displaying different posts differently. Please help me, I'll be so grateful. :)