• Dear friends,
    I am in making of a new website, and installed wordpress. After login, the dashboard comes along with a bar at top. I dont have any problem with that. i just want to remove the “W” plugin on left side of the bar for users, not for admin

    anyone with genuine answer reply fast.
    Regards
    RAVI
    INDIA

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m looking for the answer to this same issue. I fully support WordPress and have the powered by WordPress and all of that good stuff, but for the website I am designing I don’t want the W to be confused as part of the site’s content. There is a support forum, documentation and feedback links that apply to WordPress and don’t want people to click there thinking it’s part of the site.

    Thank you kindly for any replies. 🙂

    Place this code in your theme’s function.php file:

    add_action( 'admin_bar_menu', 'remove_wp_logo', 999 );
    function remove_wp_logo( $wp_admin_bar ) {
        $wp_admin_bar->remove_node('wp-logo');
    }

    @jrking4

    That was exactly what I was looking for. Thanks!

    One last question, what does the 999 represent?

    It just specifies the priority of the action. Basically if you had other items tied to the “admin_bar_menu” action setting it to 999 would cause this function to be triggered last.

    The add_action function is something I use all the time. Read more about it here:
    http://codex.wordpress.org/Function_Reference/add_action

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove The "W" pugin on left’ is closed to new replies.