diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 6b4bbe5e3f..0e1a91ff4b 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -164,6 +164,42 @@ wp_enqueue_script('admin-tags'); if ( current_user_can($tax->cap->edit_terms) ) wp_enqueue_script('inline-edit-tax'); +if ( 'category' == $taxonomy || 'post_tag' == $taxonomy ) { + if ( 'category' == $taxonomy ) + $help = '

' . sprintf(__('You can use categories to define sections of your site and group related posts. The default category is “Uncategorized” until you change it in your writing settings.'), 'options-writing.php') . '

'; + else + $help = '

' . __('You can assign keywords to your posts using Post Tags. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another.') . '

'; + + $help .='

' . __('What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information in your post (names, subjects, etc) that may or may not recur in other posts, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.') . '

'; + + if ( 'category' == $taxonomy ) + $help .= '

' . __('When adding a new category on this screen, you’ll fill in the following fields:') . '

'; + else + $help .= '

' . __('When adding a new tag on this screen, you’ll fill in the following fields:') . '

'; + + $help .= '' . + '

' . __('You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.') . '

' . + '

' . __('For more information:') . '

'; + + if ( 'category' == $taxonomy ) + $help .= '

' . sprintf(__('Categories Documentation'), 'http://codex.wordpress.org/Manage_Categories_SubPanel') . '

'; + else + $help .= '

' . sprintf(__('Tags Documentation'), 'http://codex.wordpress.org/Post_Tags_SubPanel') . '

'; + + $help .= '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

'; + + add_contextual_help($current_screen, $help); + unset($help); +} + require_once ('admin-header.php'); $messages[1] = __('Item added.');