Wordpress 管理栏未显示在网站前端 [英] Wordpress Admin Bar Not Showing on frontend of site

查看:30
本文介绍了Wordpress 管理栏未显示在网站前端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问有人能帮我解决这个问题吗?wordpress 管理栏未显示在我网站的前端(公共可见页面)上.它显示我何时在后端登录,即仪表板.用户设置没问题(设置为在查看站点时显示管理栏).我试过停用(然后重新激活)已安装的插件,但仍然没有显示.

Please could anyone help me with this problem? The wordpress admin bar is not displaying on the front-end (public visible pages) of my website. It shows when I'm logged in at the backend i.e Dashboard though. User settings are ok (set to show admin bar when viewing the site). I have tried deactivating (then, re-activating ) installed plugins, still no show.

只是一个背景说明:我最近将该站点转移到我的网络主机(我在本地开发,一切正常,并且仍在工作).我有一个用于 wordpress 的自定义文件夹.我想知道问题是否与此有关.

Just a background note: I recently transferred the site to my webhost (I was developing locally and everything worked and is still working). And I have a custom folder for wordpress. I was wondering if the problem has to do with this.

请帮助我到处搜索,但似乎每个人都希望隐藏管理面板.

Please help I have searched everywhere but seems everyone is looking to hide the admin panel instead.

提前致谢

推荐答案

检查您的主题是否在某个时候包含对函数 wp_footer() 的调用,通常在 footer.php 的最底部.这将生成管理栏显示所需的代码.

Check that your theme includes a call to the function wp_footer() at some point, usually at the very bottom of footer.php. That generates the code required for the admin bar to show.

这篇关于Wordpress 管理栏未显示在网站前端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆