#15796 closed enhancement (maybelater)
Add spacing in the menu between 59 and 60 to allow menu items to appear above appearance
Reported by: | Frumph | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Plugins | Keywords: | close |
Focuses: | administration | Cc: |
Description
I would like to place a menu item above appearance however the spacer is directly above the Appearance menu item at 60, the spacer is at 59, just a simple request to appropriate more space that is empty, 55 for the spacer and keep the appearance 60 giving 56,57,58,59 for add_menu items above 60
Attachments (1)
Change History (11)
#2
@
14 years ago
Hrm, then an action location to add another menu spacer in a particular location would be a nice ability, as a seperator to denote a sep. section, i'll see if I can figure out how to do that without losing continuity of the current sections, like an option to add_menu item where it displays partitioning lines.
#4
@
14 years ago
- Component changed from Menus to Administration
Changing component, as Menus component refers to the custom menu feature.
#5
@
11 years ago
You could overwrite the separator at 59
and add a separator higher up. Maybe an easy way to add separators would be nice to have in core.
Here's one solution for now: http://wordpress.stackexchange.com/questions/2666/add-a-separator-to-the-admin-menu.
#7
@
11 years ago
- Component changed from Toolbar to Plugins
(Sorry, doing some cleaning. This is the admin menu, not the toolbar, so best place for this is "Plugins", where the admin menu API lives.)
#8
@
10 years ago
- Keywords close added
You can add menu item above 'Appearances' easily. Not fix or "cowboy-coding" like in the stackexchange topic needed:
add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, '59.5' // this will move the item below the 'separator2' and 'appearance' menu item );
We can't do this while remaining backwards compatible.