Opened 10 years ago
Closed 2 years ago
#31261 closed enhancement (duplicate)
Improve appearance of the slug field in the "Edit Post" page in the administration
Reported by: | tyxla | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | ui, administration | Cc: |
Description
The slug field could use a couple of minor general improvements:
- The input has always been lacking a proper CSS
width
. Since there is nothing else in the slug meta box, the input can be extended to100%
width. I have observed the narrow slug field in as soon as version3.0
. - The slug input horizontal/vertical centering within the meta box content div varies throughout the different versions. In
3.0
,4.1
, and intrunk
as well, there is more space at the bottom of the field, than at the top. Since the spacing on the sides is12px
, I suggest that the total top & bottom margin of the field within the slug box is also changed to12px
for consistency.
Attachments (1)
Change History (5)
#3
@
10 years ago
As far as I understand, you are talking about removing the slug meta box in favor of the slug edit box in the Permalink section. This makes sense, but the Permalink section is not shown for non-public post types. So removing that meta box would prevent the user to manage the slug in non-public post types. And I've dealt with such cases in my experience - using non-public post types that are using the slug (and need a field to manage it). I'll post my opinion in #18523 for consideration.
Note: See
TracTickets for help on using
tickets.
Minor styling improvements to slug field - extending field to
100%
, adding margin to properly center the field in the slug box.