WordPress.org

Ready to get started?Download WordPress

Forums

Hide Admin Bar 2013
Why do you need a plugin to do this? (9 posts)

5 stars
  1. Star Verte LLC
    Member
    Posted 1 year ago #

    This is a setting you can change in Users >> Your Profile. Why would we want a plugin for something we can already do?

  2. Sam Louis Berson
    Member
    Plugin Author

    Posted 1 year ago #

    I suppose you're right, but this is a very simple and easy to use plugin which simplifies the process of hiding the admin bar and deactivates it for all users. It's also a very small file, so doesn't take up much space on your server.

  3. MickeyRoush
    Member
    Posted 1 year ago #

    @ starvert

    If you have hundreds if not thousands of users, doing it one by one is very time consuming. Especially if you don't want new users to have it.

  4. Star Verte LLC
    Member
    Posted 1 year ago #

    @MickeyRoush

    I see your point, but I think I still side with the default configuration... isn't it ultimately up to the individual user?

  5. Sam Louis Berson
    Member
    Plugin Author

    Posted 1 year ago #

    I suppose, but at least this plug would give the site admin an extremely simple way to remove the admin bar from all users.

  6. MickeyRoush
    Member
    Posted 1 year ago #

    @ starverte

    Well, that depends on if you allow users to access wp-admin. I don't allow that, even on my BuddyPress sites.

    But what you can do, is turn of the admin bar by default when a new user registers. Then allow it to be turned back on manually with something like this:

    // Disable the user admin bar on public side on registration
    add_action('user_register','trash_public_admin_bar');
    function trash_public_admin_bar($user_ID) {
    	update_user_meta( $user_ID, 'show_admin_bar_front', 'false' );
    }
  7. Sam Louis Berson
    Member
    Plugin Author

    Posted 1 year ago #

    Where would I place that code?

  8. MickeyRoush
    Member
    Posted 1 year ago #

    You can create a plugin or add it to you theme's functions.php

  9. Sam Louis Berson
    Member
    Plugin Author

    Posted 1 year ago #

    Ok. Thank you all for your help. A new plugin is now being developed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.