Name Support

Infrastructure plugin which adds UI support for custom post types with names instead of titles, e.g. "person" custom post types.

Author:mitcho (Michael Yoshitaka Erlewine) (profile at wordpress.org)
WordPress version required:3.2
WordPress version tested:3.3.2
Plugin version:0.1
Added to WordPress repository:24-12-2011
Last updated:24-12-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 038
plugin download
Click to start download

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.


Screenshots
ChangeLog