Missing “logged-in admin-bar” on homepage
I’ve updated all plugins and themes, cleared cache and cookies, tried THREE different browsers on two different computers, the problem is still present.
After upgrading to 4.7.4 (I believe), my homepage and posts made after the update are missing the admin bar upon viewing. Posts made on and before April 23 (the day I upgraded) still display the admin bar, posts made after it do not display the admin bar.
The good news: I disabled a BUNCH of plug-ins just now, and one of them must have caused the problem with the ‘posts’ code because now I can make posts and have the admin bar displayed after making the post. The older posts still don’t display the admin bar.
However, the damage has been done to the homepage despite the plugin being turned off. I had a look at the code, and the difference between the pages with and without the admin bar comes in the following lines:
With admin bar: <body class=”post-template-default single single-post postid-xxxx single-format-standard logged-in admin-bar custom-background customize-support”>
Without admin bar: <body class=”post-template-default single single-post postid-xxxx single-format-standard custom-background customize-support”>
On the homepage, the default homepage template is displayed, but right after “page-id” there is no code for “logged in admin-bar” to display, hence it’s not displayed.
I have MINIMAL coding experience, so I’m at a loss as to where I need to adjust the code to call the functions for “logged-in admin-bar” to be displayed for the homepage.
The “Show Toolbar when viewing site” user option IS checked, by the way.
I’ve also tried changing themes, and have the same problems.
Any and all help is appreciated
Edit: I tried creating a new homepage with the same template and selected the new homepage as the default homepage. When you view the new page as a page, you can see the admin toolbar. When you view it as the homepage, you can’t see the admin toolbar.
Edit 2: This is weird, and possibly relevant. If I post a new post and “view” it from the editing menu, it will be displayed with the admin bar and the title will be displayed in the “latest posts” sidebar menu. BUT if I go to the homepage, the new post will not show up on the homepage, nor will it show up in the “latest posts” sidebar menu at all. So basically, the homepage is stuck NOT displaying any new posts even though they have been posted. This just started after I tried creating a new default homepage page.
- The topic ‘Missing “logged-in admin-bar” on homepage’ is closed to new replies.