I am sorry if this is stupid. I can’t seem to figure out what special things it does. If I embed a youtube video(embed/iframe) it works for both standard and video format. Surely, I am missing something…
Leave a Reply
You must be logged in to post a comment.
Couple of things to point out actually:
post_class()
so you can use different formatting via css.post_format
and the terms arepost-format-{format}
. i.e.taxonomy-post_format-post-format-link.php
http://codex.wordpress.org/Template_Hierarchysingle.php
file you can use conditionals to have complete different html for each post format.Another nice feature of Post Formats is that they are a taxonomy, which means that you get all the advantages of a taxonomy, and can make many uses of the taxonomy:
And +1 to what everyone else has said, though I much prefer the elegance of this approach, to implementing post format-specific markup using conditionals:
…which will locate, e.g.
content-video.php
for posts with the “video” post format, and will fall back tocontent.php
for posts without a post format.It just gives you a different way to categorize and style certain posts. In your case Videos (Without a separate template file).