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

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 7 05:38:21 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 brandondove):

 Replying to [comment:98 markjaquith]:
 > Replying to [comment:96 brandondove]:
 > > In the second theme, I added the rest of the post formats using the
 following syntax, but none of the new post formats showed up:
 > > {{{
 > > add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery',
 'link', 'image', 'quote', 'status', 'video' ) );
 > > }}}
 > >
 > > It seems like once the post formats taxonomy is initially set, they
 don't update with new values.
 >
 > No, that's not how it works. I just tested that. Works fine. That line
 doesn't set up the taxonomy. It just controls the UI/saving. Terms are
 created and/or added to the post format taxonomy as needed, on post save.
 But the dropdown list will show the things you specify in  your
 {{{add_theme_support()}}} call.
 >
 > Do you perhaps still have the old theme active? :-)

 The reason why WP wasn't picking up the post formats I set up in my
 twentyten child theme was because twentyten was defining it's own
 abbreviated set. So I guess whatever is set in the parent theme overrides
 what's in the child theme eh?

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


More information about the wp-trac mailing list