0

Is there any documentation on moving the avatar image to the top of the menu area in the WordPress dashboard?

  • You mean how to create a menu item that has the users name as the label and their avatar as the icon? Keep in mind the admin menu and the toolbar use very different APIs, you would be recreating, not moving/copying. It might not sound like an important thing, but it's crucial to what you're trying to do and how you research it – Tom J Nowell Feb 12 '18 at 1:17
1

You could make a custom menu item using a plugin called Admin Menu Editor

And you could hide the avatar using CSS, to do this you could use a plugin to insert CSS in the admin dashboard or just create your own admin.css file and insert it putting this in your functions.php file:

function registerCustomAdminCss(){
$src = "path/admin.css";
$handle = "customAdminCss";
wp_register_script($handle, $src);
wp_enqueue_style($handle, $src, array(), false, false);
    }
    add_action('admin_head', 'registerCustomAdminCss');

Where path/admin.css is the path to your admin.css file

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.