I’m new [well, about 6 weeks] to WordPress though I have an understanding of CSS and HTML.
I’d like to style the post titles according to category [using icons you see in the sidebar] and I think I need to use the post_class template tag and this would be needed in every page template that shows posts [having read the related WordPress codex].
The problem is my lack of PHP knowledge so I don’t know where to insert the post_class code in relation to the existing post tile code code [which currently has a theme determined class of .posttitle].
The blog is: dico.stevedrake.net [the link wouldn’t show using the link button :-(]
Thanks a bunch.
- The topic ‘style post titles according to category’ is closed to new replies.