0

WordPress 3.1 added the Admin Bar feature, similar to the one used in WordPress.com websites, which appears on both the website and Dashboard for logged in users (if enabled in your User settings).

I've updated to WP 3.1 and enabled both settings for the admin bar ("when viewing site" and "in dashboard"), as well as clearing all caches (through W3 Total Cache) and my browser cache.

Any ideas on why I'm still not seeing the admin bar? I am using a custom theme, but I don't see how that would affect the Dashboard admin bar.

3
  • I'd call that a feature...how can i disable that thing?
    – wyrfel
    Feb 23, 2011 at 21:28
  • @wyrfel You can turn it off (per user) by going to WordPress User settings and deselecting both options. To disable the feature entirely, you can include the following code in functions.php: add_filter( 'show_admin_bar', '__return_false' ); Feb 23, 2011 at 21:41
  • Ta.
    – wyrfel
    Feb 24, 2011 at 7:09

1 Answer 1

1

Do you have

<?php wp_footer(); ?>

in your footer.php? It should be right at the bottom before the closing tag http://voodoopress.com/2011/02/wordpress-3-1-admin-bar-upgrade-issues/

8
  • I just checked to make sure, I do have the call to wp_footer() in footer.php. Feb 23, 2011 at 20:51
  • when you view your source code from within browser, do you see the output for the menu? It's down at the bottom, starts at div id="wpadminbar". Just wanna make sure it's being blocked, and not 'hidden' Feb 23, 2011 at 20:54
  • I do not see a wpadminbar div. There is some wpadminbar CSS at the top of the source (I'm pretty sure this is generated from the WordPress stats plugin, it has the option to include site stats in the admin bar and is inserted at wp_head()). The site under question is techerator.com if you would like to analyze the source. Feb 23, 2011 at 21:00
  • 1
    WPtouch Pro, a plugin which converts the site to a mobile-friendly format, was the problem and was blocking the Admin Bar on both the back-end and front-end of WordPress. I'll pass this on to the devs, thanks! Feb 23, 2011 at 22:14
  • 1
    I wrote up a quick fix until the WPtouch plugin is updated: techerator.com/2011/02/… Feb 23, 2011 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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