Support » Plugins and Hacks » Disable Clicky in toolbar

Disable Clicky in toolbar

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes I’m looking for a solution for this as well. Regardless of the theme, it seem that anyone who is registered on the site will get the stats in the toolbar. Site stats should be private and only available to site owners/administrators or at least it should be a default option in the plugin’s settings.

    Is there a temporal hack I can use to disable stats to any non-administrator?


    Hey mcgorie this might help you in the meanwhile. It actually worked out better for me. Paste the following code in your functions.php file:

    add_action('after_setup_theme', 'remove_admin_bar');
    function remove_admin_bar() {
    if (!current_user_can('administrator') && !is_admin()) {

    It will completely remove the toolbar to everyone except site administrators.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Clicky in toolbar’ is closed to new replies.