Jump to content

single.php not loading sidebar


JCKnoell

Recommended Posts

For my WordPress site, beta.cleantelligent.com , I have a blog which has a custom sidebar. (sidebar-blog.php)When you click on a single post (single.php), the sidebar goes away, even though it is correctly coded into the php.http://pastebin.com/sRE1GV1W - Single.phphttp://pastebin.com/Q6ej6qM5 - sidebar-blog.phpIs there any idea why this isn't showing up? I'm not super proficient when it comes to editing functions.php, so if it involves that, please explain it in simple terms and specifically.Thank you!

Link to comment
Share on other sites

Sounds like a css problem (since the php is correct). What are your developer tools telling you?

Edited by niche
Link to comment
Share on other sites

Honestly, they're not telling me much. The css should be right too. I can't find the issue.

 

The inspector says it's loading the sidebar class <div id="secondaryblog" class="widget-area" role="complementary"> but it's not loading the content...

Link to comment
Share on other sites

I can't find that ID on the page. Is this sidebar supposed to be viewable from the home page?

 

Also, not sure if it's related, but I get a 404 for collapse.js, which is causing another error when trying to use accordion

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...