Legend:

$help .='<p>' . __( 'What&#8217;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.' ) . '</p>';

201

201

202

if ( 'category' == $taxonomy )

203

$help .= '<p>' . __( 'When adding a new category on this screen, you&#8217;ll fill in the following fields:' ) . '</p>';

204

elseif ( 'post_tag' == $taxonomy )

205

$help .= '<p>' . __( 'When adding a new tag on this screen, you&#8217;ll fill in the following fields:' ) . '</p>';

206

207

if ( 'category' == $taxonomy || 'post_tag' == $taxonomy )

208

209

$help .= '<ul>' .

210

'<li>' . __( '<strong>Name</strong> - The name is how it appears on your site.' ) . '</li>';

211

212

if ( ! global_terms_enabled() )

213

if ( 'category' == $taxonomy || 'post_tag' == $taxonomy )

214

$help .= '<li>' . __( '<strong>Slug</strong> - The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.' ) . '</li>';

215

216

if ( 'category' == $taxonomy )

217

$help .= '<li>' . __( '<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>';

$help = '<p>' . __( 'When adding a new category on this screen, you&#8217;ll fill in the following fields:' ) . '</p>';

211

else

212

$help = '<p>' . __( 'When adding a new tag on this screen, you&#8217;ll fill in the following fields:' ) . '</p>';

213

214

$help .= '<ul>' .

215

'<li>' . __( '<strong>Name</strong> - The name is how it appears on your site.' ) . '</li>';

216

217

if ( ! global_terms_enabled() )

218

$help .= '<li>' . __( '<strong>Slug</strong> - The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.' ) . '</li>';

219

220

if ( 'category' == $taxonomy )

221

$help .= '<li>' . __( '<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>';