separators in Admin Menu Organizer
-
I discovered the plugin by chance and I'm thrilled. It has so many functions that you could otherwise only achieve with a number of other plugins. Or you could use code snippets. Everything is clearly and neatly summarized here.
Only one simple but important feature is missing. and that is adding separators to the "Admin Menu Organizer" and of course making them visible.
I added this in a separate plugin. It would be great if you could also include this in your plugin.
My function for additional separators with CSS code:
function add_admin_menu_separator($position) {
global $menu;
$menu[$position] = array(
0 => '',
1 => 'read',
2 => 'separator' . $position,
3 => '',
4 => 'wp-menu-separator',
);
}
function setup_multiple_admin_menu_separators() {
add_admin_menu_separator(15);
add_admin_menu_separator(25);
add_admin_menu_separator(35);
}
add_action('admin_menu', 'setup_multiple_admin_menu_separators');
CSS:
.wp-menu-separator {margin-top:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.