WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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...

share|improve this question
it will add a class on post_class() so you can use different formatting via css. – Sisir Oct 26 '11 at 11:38
up vote 6 down vote accepted

Couple of things to point out actually:

  1. It will add a class on post_class() so you can use different formatting via css.
  2. In the case of Post Formats, the taxonomy is post_format and the terms are post-format-{format}. i.e. taxonomy-post_format-post-format-link.php http://codex.wordpress.org/Template_Hierarchy
  3. In single.php file you can use conditionals to have complete different html for each post format.
  4. Hopefully there are more but can remember right now ;)
share|improve this answer
Note: it doesn't have to be only within single.php. Post format-specific output can be used in any Loop. – Chip Bennett Oct 26 '11 at 12:28
@ChipBennett: yes, Thanks for the information :) – Sisir Oct 26 '11 at 18:12

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:

  • Video post-format archive index page
  • Video post-format RSS feed link
  • Video post-format breadcrumb navigation
  • etc.

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:

get_template_part( 'content', 'get_post_format()' );

...which will locate, e.g. content-video.php for posts with the "video" post format, and will fall back to content.php for posts without a post format.

share|improve this answer

It just gives you a different way to categorize and style certain posts. In your case Videos (Without a separate template file).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.