WordPress.org

Make WordPress Core

Changes between Initial Version and Version 9 of Ticket #14746


Ignore:
Timestamp:
08/31/2010 02:33:29 PM (10 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14746

    • Property Cc ian@… zamoose added
  • Ticket #14746 – Description

    initial v9  
    33This 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().
    44
    5 UI on the edit post form will allow selecting from one of the terms in the wp_post_style taxonomy.  Themes will be provided some simple API such as get_post_style() and has_post_style().  Themes can register support for particular styles with an add_theme_support() call.  This can be used to limit the style selections in the UI to those that the theme supports.
     5It can also be implemented as a post meta field.  Since there can be only one type per post, a taxonomy is overkill. Using meta would also save us an extra taxonomy query.
     6
     7UI on the edit post form will allow selecting from one of the terms in the wp_post_style taxonomy.  Themes will be provided some simple API such as get_post_style() and has_post_style().