#28196 closed enhancement (fixed)
Add classes to form containers on edit-tags.php
Reported by: | jarednova | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | ui, administration | Cc: |
Description
If a user wants to suppress or modify the containers of form fields on the tags page, there's no reliable way to do so without resorting to jQuery manipulation.
For example, I want to hide the default "description" box from the admin for a particular taxonomy. By adding a few classes, WordPress can give the themer ultimate control over what gets displayed in the admin.
Right now, all of these divs are simply ...
<div class="form-field">
This diff adds info so that these wrappers can be individually styled/controlled/suppressed..
<div class="form-field term-slug-wrap">
Attachments (1)
Change History (8)
#1
@
11 years ago
... I'm totally open to finding a better class naming system, consider this a first pass. Thanks!
#3
@
10 years ago
I've added #29348 as a companion ticket to apply the same wrapper methodology to user-edit.php
#5
@
10 years ago
- Component changed from Administration to Taxonomy
- Focuses ui added
- Milestone changed from Awaiting Review to 4.1
Git diff for adding classes to edit-tags.php