IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 244 | 244 | if ( ! global_terms_enabled() ) |
| 245 | 245 | $help .= '<li>' . __( '<strong>Slug</strong> — The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.' ) . '</li>'; |
| 246 | 246 | |
| 247 | | if ( 'category' == $taxonomy ) |
| 248 | | $help .= '<li>' . __( '<strong>Parent</strong> — Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>'; |
| | 247 | if ( is_taxonomy_hierarchical( $taxonomy ) ) |
| | 248 | $help .= '<li>' . __( '<strong>Parent</strong> - Assign a parent term to create a hierarchy. The term Jazz, for example, would be the parent of Bebop and Big Band.' ) . '</li>'; |
| 249 | 249 | |
| 250 | 250 | $help .= '<li>' . __( '<strong>Description</strong> — The description is not prominent by default; however, some themes may display it.' ) . '</li>' . |
| 251 | 251 | '</ul>' . |
| … |
… |
|
| 436 | 436 | |
| 437 | 437 | wp_dropdown_categories( $dropdown_args ); |
| 438 | 438 | ?> |
| 439 | | <?php if ( 'category' == $taxonomy ) : // @todo: Generic text for hierarchical taxonomies ?> |
| 440 | | <p><?php _e('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.'); ?></p> |
| 441 | | <?php endif; ?> |
| | 439 | <p><?php _e( 'Assign a parent term to create a hierarchy. The term Jazz, for example, would be the parent of Bebop and Big Band.' ); ?></p> |
| 442 | 440 | </div> |
| 443 | 441 | <?php endif; // is_taxonomy_hierarchical() ?> |
| 444 | 442 | <div class="form-field term-description-wrap"> |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 164 | 164 | /** This filter is documented in wp-admin/edit-tags.php */ |
| 165 | 165 | $dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy, 'edit' ); |
| 166 | 166 | wp_dropdown_categories( $dropdown_args ); ?> |
| 167 | | <?php if ( 'category' == $taxonomy ) : ?> |
| 168 | | <p class="description"><?php _e('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.'); ?></p> |
| 169 | | <?php endif; ?> |
| | 167 | <p class="description"><?php _e( 'Assign a parent term to create a hierarchy. The term Jazz, for example, would be the parent of Bebop and Big Band.' ); ?></p> |
| 170 | 168 | </td> |
| 171 | 169 | </tr> |
| 172 | 170 | <?php endif; // is_taxonomy_hierarchical() ?> |