Raphael
Raphael

Reputation: 562

wordpress tool bar is not shown

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/

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

Upvotes: 0

Views: 35

Answers (1)

dingo_d
dingo_d

Reputation: 11690

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 :)

Upvotes: 1

Related Questions