WordPress Customize the admin Menu Order
X

Congrats, You are Subscribed to Receive Updates.

WordPress Customize the admin Menu Order


WordPress Customize the admin Menu Order , Sometimes you may to change the existing order of the admin menu links, We might not interested to use several options frequently. Certain things we are not going to touch it. So we will arrange it and sort out the necessary things first. Let me give you the code to change the order,

 function kv_change_menu_order($menu_ord) {
    if (!$menu_ord) { return true; }
	else {
		return array(
        'index.php', 
        'edit.php?post_type=mints', 
        'edit.php?post_type=news',        
        'edit.php?post_type=blog',
        'edit.php?post_type=gaq', 
        'edit.php', 
    );
}
add_filter('kv_change_menu_order', 'kv_change_menu_order');
add_filter('menu_order', 'kv_change_menu_order');

Here I gave you the code to change the post editors and posts main menu only. You can change it as of your taste,  This will take effect on the admin page. Also  you can remove the unnecessary things from the list. I hope you really enjoy this article in simple to remove and sort admin menu items.  Below some related article which you may interested to see and read.

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, OpenCart Theme Development, PHP, HTML, CSS, jQuery, Bootstrap development and content SEO.

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar

Subscribe E-mail Updates

Congrats, You are Subscribed to Receive Updates.

Advertisement

Category Posts