On my site, using the TwentyTen theme, the sidebar content drops to bottom of page on all Pages. Issue does not affect Posts, and also is not reproduceable in Safari browser. Any troubleshooting advice?
On my site, using the TwentyTen theme, the sidebar content drops to bottom of page on all Pages. Issue does not affect Posts, and also is not reproduceable in Safari browser. Any troubleshooting advice?
for instance, use the http://validator.w3.org/ to check the html code of your pages;
compare it to the validation report of your single posts.
this might give you a hint to what might be wrong.
make sure that all divs in page.php (which also uses loop-page.php) are closed properly;
for any direct suggestions, please post a link to your site.
Big thanks, alchymyth, for taking time to respond. Very appreciated. The site in question is socialwebstrategies.com
Do you have any guidance on which, if any of those errors might be causing problem?
To continue troubleshooting, I removed all widgets from the sidebar, and was going to add them back one-by-one to see if I could trace the issue to one. However, when I removed all widgets from the Primary and Secondary Widget areas, there appeared a couple more widgets in the sidebar on the pages-as-displayed, but not on the Admin > Appearance > Widgets page. Where are these phantom widgets (Search, Archives, Meta) coming from, I wonder? Still digging.
Learned where those widgets are coming from, they are hardcoded into sidebar.php to display in absence of anything else. Still don't know why they are droppping so low in display.
Do you have any guidance on which, if any of those errors might be causing problem?
the problem is that in this case the validator stops after some errors;
the drop of the sidebar (on pages and single posts) seems to be caused by the 'simple bookmarking' plugin (not finaly confirmed), which leaves a closing a tag broken;
the plugin code in line 41 is supposed to remove the pipe character from after the last bookmark:
$bwidget = substr($bwidget,0,strlen($bwidget)-4);
but removes one character too many;
code should be:
$bwidget = substr($bwidget,0,strlen($bwidget)-3);
either use a different plugin, or edit the existing one:
'dashboard' 'plugins' click 'edit' below the plugin name.
Thanks for this diagnosis.
Following your directions, I went to Dashboard > Appearance > Plugins > Editor to edit the "simple-bookmarking/simple-bookmark-sharing.php" file (after adjusting permissions). I change the "-4" to "-3" and the issue is now resolved.
Big thanks for your time.
I have a somewhat similiar issue. I would like to link an image in the sideabr to a "bookmark" in a long page. How and where do I name the anchor to link the image too?
where is the image coming from?
is it in a text widget?
it's in a text widget and I want to link it to the middle of a different page (prevent scrolling down looking for the info). I'm familiar with named anchors and didn't know if I can use html to name the anchor, etc. - as I am not familiar with php.
This topic has been closed to new replies.