Is it possible to have different HTML markups for different types of post? For example, aside from the normal blog post, I'll have a post with just a photo in it, a post for poems and so forth. Is there anyway I can assign different markups for these different posts?
Not exactly what I'm looking for, it basically just changes the style by applying a class onto a post. I'm developing my theme in html 5.
A normal blog post would look like:
<article>
...
</article>
A post with just image would look like:
<figure>
...
</figure>
A post for poems would be:
blockquote
...
/blockquote
And so on... Any idea how?