Clicky by Yoast
Disable Clicky in toolbar (3 posts)

  1. mcgorie
    Posted 2 years ago #

    With the theme I am using the clicky feature in the toolbar is available to customers when they are logged in. How do I disable this function?


  2. ebarcena
    Posted 1 year ago #

    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?


  3. ebarcena
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Clicky by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.