This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Subtitle

Descripció

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' );
}

Captures

  • Subtitle input field appears!

Instal·lació

  1. Upload subtitle folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Ressenyes

No hi ha ressenyes per a este complement.

Col·laboradors i desenvolupadors

«Subtitle» és programari de codi obert. La següent gent ha col·laborat en este complement.

Col·laboradors

Traduïx «Subtitle» a la teua llengua.

T’interessa el desenvolupament?

Revisa el codi , dona una ullada al repositori SVN o subscriu-te al registre de desenvolupament per RSS.

Registre de canvis

0.1 First Release.