Sidebar Items not showing up
-
Hi fivemcclungs,
Would you mind posting the contents of your sidebar.php file so I can take a look? There might be something in the code which is telling those items to only display on the homepage.
Here it is. Unfortunately, one plugin seems to have just broken the layout of the site in Firefox, but IE still renders it correctly.
[moderated code pasted at http://wordpress.pastebin.ca/592629 ]
help?
bump.
Bumping is considered very bad manner.
Paste your sidebar.php code to the address above.
sorry about the bump. i didn’t know.
the code is here.
http://wordpress.pastebin.ca/764347
its for the page template page which i’m assuming is where the problem lies. although the single post php code is the exact same.
thanks again!
Do you have a file in your theme called single.php? In mine, I changed widecolumn to narrowcolumn (a few lines in) to address this same issue.
verabass. thanks for the tip. but mine doesn’t have the widecolumn in the code. or narrow for that matter. although i’m familiar with what you’re talking about as i had to mod another site like that.
any other takers?
You must have a lot of Conditional_Tags in your sidebar – and those will make it to display different things depending on where you are.
Remove them.thanks for your time moshu. i tried doing what you asked with the conditional tags. but it just killed the entire sidebar on every post.
it gave me this where the sidebar div should have been
Parse error: syntax error, unexpected ‘}’ in
i copied my entire sidebar code here.
http://wordpress.pastebin.ca/765242
i’m thinking something needs to be changed with one of the first lines of php
<?php if(is_home()) {?>
i’ve done a bunch of trial and error stuff by just changing out a “home” for other words. and nothing changes. i feel like i’m losing my mind because i’m sure it’s just one line and i can’t figure it out.
Try this:
http://wordpress.pastebin.ca/765347you rock! that fixed it! thanks so much moshu!!
do you have some way that i could “donate” for your time. paypal or anything?
- The topic ‘Sidebar Items not showing up’ is closed to new replies.