[wp-trac] [WordPress Trac] #14746: Post Formats

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 8 00:00:50 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
----------------------------+-----------------------------------------------
Changes (by ptahdunbar):

 * cc: trac@… (added)


Comment:

 Replying to [comment:114 ryanhellyer]:
 > 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';
 > }}}
 >

 You can use has_post_format() for conditionals.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14746#comment:115>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list