[theme-reviewers] Post formats

Edward Caissie edward.caissie at gmail.com
Fri Nov 5 13:05:18 UTC 2010

This is a great idea for WP3.1 Theme recommendations. Thanks!


On Fri, Nov 5, 2010 at 4:53 AM, Otto <otto at ottodestruct.com> wrote:

> Future suggestion, just starting discussion now.
> http://wpdevel.wordpress.com/2010/11/05/post-formats-in-core/
> Post formats are a new thing that will be in 3.1. Basic idea is to
> provide a specific method for specifying the "format" of a post, for
> display. This is to replace the usage of categories for much the same
> thing.
> Example: Asides. In the past, it's often been suggested to make an
> "asides" category, and then posts can be put into that category and
> displayed differently based on either styling rules from post_class()
> or from in_category('asides').
> This new approach allows a theme to define a set of post formats like so:
> add_theme_support( 'post-formats', array( 'aside', 'gallery', 'whatever' )
> );
> And then the post format can be selected when saving the post. A
> function call of "get_post_format( $post->ID )" can be used to
> determine the format, and post_class() will also create
> "format-whatever" classes, for pure-css styling.
> So, recommendation for future themes (post-3.1): Do not use categories
> for displaying posts differently. Instead, support post-formats.
> -Otto
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20101105/ecb82409/attachment.htm>

More information about the theme-reviewers mailing list