How can i set admin bar same like wpmudev ?

How can i set admin bar same like wpmudev using ultimate branding.

Have wpmudev > community > ask a question > manual > plugin.

I already set, just only 1 admin bar can create (wpmudev)

  • Alexander
    • DEV MAN’s Mascot

    Hi @Rosniza,

    I'm sorry, our toolbar on WPMU DEV is actually setup with custom coding - it can't be done using Ultimate Branding alone.

    Ultimate Branding can allow you to place your logo, and add menu pages to the logo menu node, however you can't add new nodes or top level menus.

    This isn't difficult with custom coding. Here's a brief example:

    function custom_toolbar_menu($wp_admin_bar){
    $wp_admin_bar->add_node(array('id' => 1234, 'title' => 'Link Name, 'href' => 'http://yoursite.com/page123' ));
    }
    add_action('admin_bar_menu','custom_toolbar_menu',999);

    Here's some code if you'd like this to work based on a WordPress theme menu: http://git.io/d9mouA

    Hope this helps! Let me know if you need any other help or assistance here.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.