Sidebar disappeared
-
Hi guys,
A few days ago I did a bunch of plugin updates (I don’t like updates and always postpone them), and since I did that, the sidebar of my website has been removed. I am unable to find the source of this problem, which is why I am turning to you, the guys with more experience and know-how.
This is my website, and a page which should contain a sidebar:
http://www.fitnessbase.nl/kuiten/I use the WP 4.2.2 and use the Pinboard theme.
I use a child-theme, but not in the first few days of the website. So it could be that an adjustment in a php page or whatever has gone lost, but I consider that a small possibility. Still I have no clue how to fix this and have been sitting with this problem for days now.
Your help will be greatly appreciated!
-
Hi,
I have reviewed your website code and noticed that sidebar div is empty.
<div id=”sidebar” class=”column fourcol”>
</div>You can add widgets ready sidebar from WordPress dashboard. Please refer following guide for more information:
http://www.wpbeginner.com/wp-themes/how-to-add-dynamic-widget-ready-sidebars-in-wordpress/
http://codex.wordpress.org/WordPress_Widgets_Api/register_sidebars
http://codex.wordpress.org/Function_Reference/get_sidebarThanks,
Thanks for your reply Accu. I checked this. Sadly this was not the solution for me. My sidebar is registered in functions.php and its reference (sidebar-top.php) also seems correct.
I am using Custom Sidebars by WPMU DEV. I believe it is either this update, or the wordpress version update that triggered this problem.
To add some clarity: In my widgets, I also tried setting the standard sidebars to see if they would appear, but they didn’t.
Maybe a clue: I tried every location, and I noticed it will only appear when I set it to the header location (instead of e.g. sidebar top) (Of course this is not the location I want the sidebar). I couldn’t find any relevant differences between the ‘sidebar-top.php’ and the ‘sidebar-header.php’ files.
I removed the plugin. The problem is sort of resolved now. Thanks
The topic ‘Sidebar disappeared’ is closed to new replies.