Horje
How to Customize the order of the administration menu

This code will allow you to reorganize the order of elements in the administration menu. All that you need to do is click on an existing link in the administration menu and copy everything before the /wp-admin/ URL. The order below represents the order the new administration menu will have.


Method-1: Customize the order of the administration menu

Just copy and paste following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.
Example: PHP
// CUSTOMIZE ADMIN MENU ORDER
function custom_menu_order($menu_ord) {
    if (!$menu_ord)
        return true;
    return array(
     'index.php', // This represents the dashboard link
     'edit.php?post_type=events', // This is a custom post type menu
     'edit.php?post_type=news',
     'edit.php?post_type=articles',
     'edit.php?post_type=faqs',
     'edit.php?post_type=mentors',
     'edit.php?post_type=testimonials',
     'edit.php?post_type=services',
     'edit.php?post_type=page', // This is the default page menu
     'edit.php', // This is the default POST admin menu
 );
}
add_filter('custom_menu_order', 'custom_menu_order');
add_filter('menu_order', 'custom_menu_order');





Related Articles
How to Enable Hidden Administration Feature displaying All Site Settings Wordpress Administration Shortcode
How to change the Login Logo & Image URL Link Wordpress Administration Shortcode
How to Remove Update Notification for all users except ADMIN User Wordpress Administration Shortcode
How to Remove Default WordPress Meta Boxes Wordpress Administration Shortcode
How to Remove "Wordpress" to "WordPress" filter Wordpress Administration Shortcode
How to Customize the order of the administration menu Wordpress Administration Shortcode
How to Add Thumbnails in Manage Posts/Pages List Wordpress Administration Shortcode

Single Articles
Method-1: Customize the order of the administration menuWordpress Administration Shortcode

Read Full:
Wordpress Administration Shortcode
Category:
Web Tutorial
Sub Category:
Wordpress Administration Shortcode
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
174
Tested on:
WordPress 3.0.1



Share on: