0
votes

In my wordpress installation I did a lot of testing. One day I tested the Live Composer. (http://livecomposerplugin.com/). But some days a go I decided to do it without a visual composer plugin and deleted the plugin. Since that, the admin tool bar on top of my startpage wasn't shown anymore.

I am using the html5blank Theme (http://html5blank.com/

  • I tried to add a new admin user and delete the standard user - NO SUCCESS
  • I tried to do the steps described in this article - NO SUCCESS

Now I don't know, what to do next.

1
I have tested it with three browsers. (Firefox, Chrome and Safari) In case it could have something to do with cookies.Raphael
Did you try with: if ( current_user_can( 'manage_options' ) ) { add_filter( 'show_admin_bar', '__return_true' , 1000 ); }dingo_d
Dear dingo_d. Thank you very much. I pasted your line into my functions.php in my theme folder. I cleared the cache and now it works.Raphael

1 Answers

1
votes

Ok, so you can try adding in your functions.php

if ( current_user_can( 'manage_options' ) ) { 
    add_filter( 'show_admin_bar', '__return_true' , 1000 ); 
}

This should force admin bar on logged in users (users with enough privilege that is).

Hope this helps :)