Quick code to paste into your functions file for customizing your sidebar order in the admin section of WordPress. Some clients won’t need the Posts at the top, maybe their blog is secondary to their website, usually better to put the Posts and Comments together. Just change the order of how you want to customize it based on the code below.
// Admin Side Bar Order Change
function custom_menu_order($menu_ord) {
if (!$menu_ord) return true;
return array(
'index.php', // Dashboard
'separator1', // First separator
'edit.php?post_type=page', // Pages
'upload.php', // Media
'link-manager.php', // Links
'separator2', // Second separator
'themes.php', // Appearance
'plugins.php', // Plugins
'users.php', // Users
'tools.php', // Tools
'options-general.php', // Settings
'separator-last', // Last separator
'edit.php', // Posts
'edit-comments.php', // Comments
);
}
add_filter('custom_menu_order', 'custom_menu_order'); // Activate
add_filter('menu_order', 'custom_menu_order');