[wp-trac] [WordPress Trac] #14746: Post Formats
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 7 11:15:27 UTC 2010
#14746: Post Formats
----------------------------+-----------------------------------------------
Reporter: ryan | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.1
Component: Template | Version:
Severity: normal | Keywords: ongoing-project ui-feedback
----------------------------+-----------------------------------------------
Comment(by ryanhellyer):
+1 for theme developers being able to add extra formats when they deem
fit.
'''BIG +1''' for encouraging theme developers to use the standardised
formats. Perhaps a way to encourage this, without forcing it on them would
be to use add_theme_support() again to add support for customisable
formats? add_theme_support( 'custom-post-formats' ) would be enough to
make it obvious to developers that they probably don't need to create
their own custom formats, yet still allow those who do require the extra
flexibility to create their own custom formats for their particular
implementation.
Support for some sort of conditional system would be handy too. Perhaps
something like the following:
{{{
if ( is_post_format( 'video' )
echo 'this is the video format';
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14746#comment:114>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list