Sidebar empty on single post page?
-
Hello everybody, I’m stuck on a little problem. My site navigations gone when I view a single post of my blog. Suddenly the sidebar is only filled with the search box and nothing else. Is this normal? I checked the single.php in my template and it has the get sidebar code in it. Any help would be greatly appreciated.
Another small problem I have is that my rss2 feed is not working, I get a error page on http://www.mysite.com/?feed=rss2 Do I need to install a plugin for this to work? ?feed=comments-rss2 is also not working.
-
Can no one help me?
You should probably show some code, because it’s impossible to tell what the problem is without it.
Here is my sidebar.php from my template that I use, I readed somewhere it could have to do with this
you can check the site at http://www.scenequality.com
My rss feed is working now btw so it’s only the sidebar issue
When I check the generated HTML of a single post, it only shows the search box in the sidebar.
1) Are you certain that single.php has a line that says<?php get_sidebar(); ?>?
2) You might want to check your meta-description, double content-id (there cannot be two id’s with the same name on one page) and other things that generate HTML-errors on a single post page. It might solve the problem, it might not, but it certainly helps to exclude some factors that could be related.Delete the if statement from your sidebar: lines 40 and 60.
Thank you! Solved my problem
The topic ‘Sidebar empty on single post page?’ is closed to new replies.