Subtitle

Displays subtitle text field after the title in post, page and other post type edit page.

Author:Shinichi Nishikawa (profile at wordpress.org)
WordPress version required:3.5.1
WordPress version tested:3.5.2
Plugin version:0.1
Added to WordPress repository:01-05-2013
Last updated:01-05-2013
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, %:60
Rated by:2
Plugin URI:http://nskw-style.com/2013/wordpress/plugin-d...
Total downloads:3 606
Active installs:200+
plugin download
Click to start download

Displays subtitle text field after the title in post, page and other post type edit page.

Retriving and displaying in templates

Use get_nskw_subtitle() to retrieve and nskw_subtitle() to display.

Change label

By default the label of the input field is "Subtitle". There's a hook for changing it.

add_filter( 'nskw-fat-meta_label', 'nskw_changeLabel' );
function nskw_changeLabel() {
    return 'new label';
}

Hide in specific post types

By default, subtitle field appears in every post type edit pages except for attachment.

To hide in particular post type pages, there’s a hook.

// hide subtitle field in posttype 'attachment', 'page'、''newposttype'
add_filter( 'nskw-fat_post_type', 'nskw_hide_subtitle' );
function nskw_hide_subtitle() {
    return array( 'attachment', 'page', 'newposttype' );
}

Screenshots
ChangeLog