0

I am unable to display the admin bar in the front end while the user is logged in to the admin.I have the wp_footer() and the checkbox in the user profile is checked too.

can some one please help.

8
  • If you have checked the option in the profile, it should show in the front end. So can you check your theme's function.php file and look for show_admin_bar as a filter or function? Oct 1, 2013 at 10:16
  • @MarutiMohanty I have tried using the show_admin_bar but yet no success Oct 1, 2013 at 10:22
  • @tf the css is fine and its not made invisible Oct 1, 2013 at 10:23
  • No i am working in my localmachine Oct 1, 2013 at 10:28
  • Can you confirm if you were able to see the admin bar before and lately you have this issue? Oct 1, 2013 at 10:31

1 Answer 1

0

Can you reproduce this error in a clean install?

Have you installed some new plugins in that site lately?

Have you tried to deactivate all contrib plugins and themes and see if the error persists when only core is active?

I fear we need some extra info to be helpful :(

4
  • 1
    I have deactivated all the plugins used and yet the problem persists.Have cleaned all the white spaces before and after the php tag too.Yet no luck. Oct 1, 2013 at 10:20
  • thanks @khadkaboy it is weird if it isn't related to any contrib plugins and themes. Does the problem persists if you activate temporarily the "Twenty Thirteen" theme?
    – versvs
    Oct 1, 2013 at 10:24
  • No in that case it works and i am trying to find the problem Oct 1, 2013 at 10:28
  • Look into your functions.php file and see if you are positioning the page above the admin bar or something like that.
    – versvs
    Oct 1, 2013 at 10:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.