[wp-trac] [WordPress Trac] #15385: Use get_template_part() for post formats in Twenty Ten
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 11 13:36:47 UTC 2010
#15385: Use get_template_part() for post formats in Twenty Ten
-------------------------+--------------------------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Themes | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Let's encourage some standardization in themes by giving Twenty Ten the
following:
{{{
get_template_part( 'post-format', 'aside' );
get_template_part( 'post-format', 'gallery' );
}}}
We'll leave the default in loop.php, I'm thinking, though we could also
use post-format-default.
I'm going to comment on #14746 that I think, if post formats are
supported, then 'default' should always be supported and should be
enforced as the default, even if nothing is stored yet for that post.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15385>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list