751 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
CyberShot says

I have made a few themes and some I have started over to try out different coding methods. I have noticed that sometimes the admin bar does not show up but I do not know why it doesn’t. What is it in the theme that calls the admin bar?

898 posts
  • Has sold $1,000+ on Envato Market
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+5 more
infuse01 says
CyberShot said
I have made a few themes and some I have started over to try out different coding methods. I have noticed that sometimes the admin bar does not show up but I do not know why it doesn’t. What is it in the theme that calls the admin bar?

As far as I now its nothing theme specific rather core specific. Not the Theme calls the Admin Bar – its simple the Wordpress Core itself.

751 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
CyberShot says

there must be something because the admin bar isn’t showing in my theme right now but the space for the bar is there.

898 posts
  • Has sold $1,000+ on Envato Market
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+5 more
infuse01 says

may you have some css which hides the bar, but not the space? do you have a live demo of it so may I can help you to figure the issue out? Otherwise I’m quite sure that there is nothing you can call from within a theme. I have made some themes and never came across such a behaviour.

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says

You need both the wp_head() and wp_footer() calls for it to display correctly, I think.

3437 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

if the themes are on different installs theres a setting via users to turn it off. and its a 28px shift so it can be fixed with css by adding the WordPress body class, I believe theres the default class is admin-bar

751 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
CyberShot says

I have it working on one theme. I took those files out to recode it and was adding the header code in and noticed that the admin header didn’t show. That lead me to wonder how the admin header is called. wp_head(); must not do it all on it’s own. I put the files back and now it is working. It would be good to figure out this puzzle.

303 posts mekshq.com
  • Made it to the Authors' Hall of Fame
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Had an item featured in a magazine
+6 more
meks says

Users -> All Users – > Your username -> Show Admin Bar (when viewing site, in dashboard) ...

Is this helpful ?

45 posts
  • Has collected 10+ items on Envato Market
  • Pulled off some great moustache to raise money or awareness for Movember Australia
  • Has been part of the Envato Community for over 2 years
  • Located in United States
premiumwd says

yes! :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by