Jump to content

single.php not loading sidebar


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 post
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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...