admin管理员组文章数量:1130349
my admin bar was randomly gone. I ddn't notice at first but I installed BuddyPress and was thinking maybe it was due to this and their specific admin bar stats for guests etc.
I de-activated BuddyPress (for now) and still no admin bar. Then I did the cliche user profile toggle switch check and sure enough... it was off. Great, quick easy fix and then I'm on my way. Problem with this is - when I toggle it on and save the changes, it refreshes with the thing UNTOGGLED. What is the issue here? The thing literally unchecks itself every refresh and basically wont let me save it to keep the admin bar on. Tripping me out, never had a untoggling toggler toggling tog in my life LOL. Can't find the culprit
my admin bar was randomly gone. I ddn't notice at first but I installed BuddyPress and was thinking maybe it was due to this and their specific admin bar stats for guests etc.
I de-activated BuddyPress (for now) and still no admin bar. Then I did the cliche user profile toggle switch check and sure enough... it was off. Great, quick easy fix and then I'm on my way. Problem with this is - when I toggle it on and save the changes, it refreshes with the thing UNTOGGLED. What is the issue here? The thing literally unchecks itself every refresh and basically wont let me save it to keep the admin bar on. Tripping me out, never had a untoggling toggler toggling tog in my life LOL. Can't find the culprit
Share Improve this question asked Oct 31, 2018 at 17:39 user153341user153341 11 Answer
Reset to default 0Try adding this code to your theme functions.php file:
if ( is_user_logged_in() ) {
show_admin_bar( true );
}
If this doesn't work, try logging into your site using a new "Incognito" window and see if the Admin Bar shows up on the front end. If it does, you probably need to clear the cookies for your site. Hope that helps!
my admin bar was randomly gone. I ddn't notice at first but I installed BuddyPress and was thinking maybe it was due to this and their specific admin bar stats for guests etc.
I de-activated BuddyPress (for now) and still no admin bar. Then I did the cliche user profile toggle switch check and sure enough... it was off. Great, quick easy fix and then I'm on my way. Problem with this is - when I toggle it on and save the changes, it refreshes with the thing UNTOGGLED. What is the issue here? The thing literally unchecks itself every refresh and basically wont let me save it to keep the admin bar on. Tripping me out, never had a untoggling toggler toggling tog in my life LOL. Can't find the culprit
my admin bar was randomly gone. I ddn't notice at first but I installed BuddyPress and was thinking maybe it was due to this and their specific admin bar stats for guests etc.
I de-activated BuddyPress (for now) and still no admin bar. Then I did the cliche user profile toggle switch check and sure enough... it was off. Great, quick easy fix and then I'm on my way. Problem with this is - when I toggle it on and save the changes, it refreshes with the thing UNTOGGLED. What is the issue here? The thing literally unchecks itself every refresh and basically wont let me save it to keep the admin bar on. Tripping me out, never had a untoggling toggler toggling tog in my life LOL. Can't find the culprit
Share Improve this question asked Oct 31, 2018 at 17:39 user153341user153341 11 Answer
Reset to default 0Try adding this code to your theme functions.php file:
if ( is_user_logged_in() ) {
show_admin_bar( true );
}
If this doesn't work, try logging into your site using a new "Incognito" window and see if the Admin Bar shows up on the front end. If it does, you probably need to clear the cookies for your site. Hope that helps!
本文标签: Admin Bar Acting Up
版权声明:本文标题:Admin Bar Acting Up 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749216394a2334234.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论