Changes between Version 36 and Version 59 of Ticket #14746
- Timestamp:
- 10/12/2010 06:37:00 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14746
- Property Cc WordPress@… sbressler@… added
-
Property
Summary
changed from
Post Kinds/Styles/TypestoPost Formats -
Property
Type
changed from
enhancementtotask (blessed) -
Property
Milestone
changed from
Awaiting Reviewto3.1
-
Ticket #14746 – Description
v36 v59 1 Allow denoting a post as a certain style/type/kind. Some example styles are aside, gallery, link, quote. This will allow themes to style these posts according to kind.1 Allow denoting a post as a certain format. Some example formats are aside, gallery, link, quote. This will allow themes to style these posts according to format. 2 2 3 This can be implemented as a custom taxonomy. wp_post_style, for example. Terms within wp_post_style would be the styles. Some core styles will be pre-populated. The slugs and names will be stored as English. Dummy gettext calls will get the strings into the catalog and later the fetched names can be run through translate().3 This can be implemented as a custom taxonomy. post_format, for example. Terms within post_format would be the formats. The slugs and names will be stored as English as keys. Dummy gettext calls will get the strings into the catalog and later the fetched names can be run through translate(). 4 4 5 It can also be implemented as a post meta field. Since there can be only one type per post, a taxonomy could be overkill. Using a taxonomy would, however, make it easier for plugins to add new types persistently. 6 7 UI on the edit post form will allow selecting from one of the types. Themes will be provided some simple API such as get_post_style() and has_post_style(). 5 UI on the edit post form will allow selecting from one of the types. Themes will be provided some simple API such as get_post_format(), set_post_format, and has_post_format().