[wp-trac] [WordPress Trac] #14746: Post Kinds/Styles/Types

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 31 18:59:17 UTC 2010


#14746: Post Kinds/Styles/Types
-------------------------+--------------------------------------------------
 Reporter:  ryan         |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Template     |     Version:                 
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by mikeschinkel):

 Replying to [comment:17 ryan]:
 > What we expose in the UI and what we use in API can be different.
 Something like "Content Type" could be used in UI.  Using that in API
 could get confused with something to do with Content-Type though.

 My personal preference is consistency. It's hard to kept mentally between
 things like "featured-image" and "thumbnail" and just causes confusion for
 a lot of developers (me included.)

 Replying to [comment:18 ryan]:
 > Getting back to storage and queries, do we foresee a need to query all
 posts with a given "type"?  I don't think we need to optimize for such a
 thing, thus post meta seems a good fit.

 If you put it there querying on it will be needed.   Maybe a form of
 #14513 would help?

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


More information about the wp-trac mailing list