简体   繁体   English

为什么wordpress管理栏无法正确显示?

[英]how come the wordpress admin bar isn't being displayed properly?

i just upgraded to wordpress 3.3 and built a really basic template for some reason the wordpress admin bar on the site is displaying really weird. 我刚刚升级到wordpress 3.3,并出于某种原因构建了一个非常基本的模板,由于某些原因,网站上的wordpress管理栏显示的很奇怪。 on the backend (dashboard) it is fine though. 在后端(仪表板)上也可以。

i have attached an image, but is there a better way to view my problem? 我已附加图像,但是有没有更好的方法来查看我的问题? or has anyone else had it? 还是其他人有?

http://www.keganquimby.com/dev/ http://www.keganquimby.com/dev/

it wont let me upload an image, so to see my screen shot: http://www.keganquimby.com/dev/wp-content/uploads/2011/12/Screen-Shot-2011-12-15-at-3.07.29-PM.png 它不会让我上传图片,所以要查看我的屏幕截图: http : //www.keganquimby.com/dev/wp-content/uploads/2011/12/Screen-Shot-2011-12-15-at-3.07 0.29-PM.png

If you have already included wp_head(); 如果您已经包含wp_head(); & wp_footer(); wp_footer();

Check function.php for show_admin_bar(FALSE); 检查function.php中的show_admin_bar(FALSE); and change it to show_admin_bar(TRUE); 并将其更改为show_admin_bar(TRUE);

I didn't know you could actually disable the admin bar for the front end of your site altogether, which is what I needed. 我不知道您实际上可以完全禁用网站前端的管理栏,而这正是我所需要的。 Clicking on users then toggling the "Show Toolbar when viewing site" option off did it! 单击用户,然后切换“查看网站时显示工具栏”选项即可!

Have you made sure that your header.php contains the wp_head(); 您是否已确定header.php包含wp_head();? function call as last line of your head container and that you have wp_footer(); 函数调用作为头容器的最后一行,并且具有wp_footer(); as the last line of your body container? 作为您的身体容器的最后一行?

It's hard to diagnose the issue since your error probably lies server-side (PHP code). 由于您的错误可能出在服务器端(PHP代码),因此很难诊断问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM