• Hello,

    I added this code to wp-content/mytheme/functions.php

    <?php
    function my_function_admin_bar(){
    return false;
    }
    add_filter( ‘show_admin_bar’ , ‘my_function_admin_bar’);
    ?>

    To disable the admin bar and the css is not loading anymore when Total Cache is activated.
    When I de activate Total Cache everything is working as normal.

    What is wrong the code added?
    Thanks

    http://wordpress.org/extend/plugins/w3-total-cache/

  • The topic ‘Admin Bar De-activation’ is closed to new replies.