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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 7 02:58:31 UTC 2011


#14746: Post Formats
-----------------------------------------+---------------------
 Reporter:  ryan                         |       Owner:
     Type:  task (blessed)               |      Status:  closed
 Priority:  normal                       |   Milestone:  3.1
Component:  Template                     |     Version:
 Severity:  normal                       |  Resolution:  fixed
 Keywords:  ongoing-project ui-feedback  |
-----------------------------------------+---------------------

Comment (by Otto42):

 Replying to [comment:152 F J Kaiser]:
 > Oh and it would be great if the array containing the post_format(s)
 would be in some central $var or function, that you could call from
 theme/template files.

 get_theme_support('post-formats');

 Or if you want all of them, use the returned keys of
 get_post_format_strings();

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


More information about the wp-trac mailing list