外掛說明
If you need to implement a custom post type for human beings, where in lieu of a title you need a name, this plugin will add the proper UI. See screenshots for an example.
Usage
When creating your custom post type, just make sure you specify name as one of the post type’s features. (As of version 0.1, the title feature, quite counterintuitively, is also required as in the example below.)
register_post_type( 'people', array( 'label' => 'People', 'supports' => array( 'title', 'name', ... ) ... ) );
Name Support also gives you the template tags the_name() and get_the_name() which prints or returns the name in “[First Name] [Last Name]” format.
Development of this plugin was supported by the Arts at MIT.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
0.1
- Initial upload
