- Mar 22, 2013
- 9,204
- 10,500
So I want to organize the admin dashboard items, and I figured out how to do it, but I can't move Jetpack.
I added this in functions.php
This orders the items on the menu exactly like you see in the code.
Dashboard
Media
Plugins
Comments
etc
But I can't move Jetpack because the URL is different than the rest of them.
Wordpress pages are like this - /wp-admin/plugins.php
Plugins pages are like this - /wp-admin/admin.php?page=wpseo_dashboard
But Jetpack is like this - /wp-admin/admin.php?page=jetpack#/dashboard
And because of the symbol and slash there, I can't figure out how to move it. I tried different variations, but nothing works.
So I'm left with this:

Jetpack doesn't belong there. Seeing that just creates chaos in my brain. It's anarchy
Wordpress native pages go up, and plugins go down. This is how I like it.
Any ideas how to move that tab? @BlogPro
I added this in functions.php
PHP:
function custom_menu_order($menu_ord) {
if (!$menu_ord) return true;
return array(
'index.php', //display dashboard
'upload.php', // media
'plugins.php', // plugins
'edit-comments.php', // comments
'edit.php?post_type=page', // pages
'edit.php', // posts
'edit.php?post_type=feedback', // contact form
'wpseo_dashboard', // yoast
'jetpack', // jetpack
);
}
add_filter('custom_menu_order', 'custom_menu_order');
add_filter('menu_order', 'custom_menu_order');
This orders the items on the menu exactly like you see in the code.
Dashboard
Media
Plugins
Comments
etc
But I can't move Jetpack because the URL is different than the rest of them.
Wordpress pages are like this - /wp-admin/plugins.php
Plugins pages are like this - /wp-admin/admin.php?page=wpseo_dashboard
But Jetpack is like this - /wp-admin/admin.php?page=jetpack#/dashboard
And because of the symbol and slash there, I can't figure out how to move it. I tried different variations, but nothing works.
So I'm left with this:

Jetpack doesn't belong there. Seeing that just creates chaos in my brain. It's anarchy
Wordpress native pages go up, and plugins go down. This is how I like it.
Any ideas how to move that tab? @BlogPro