Home > General > Disappearing Sidebar When I Add A Widget….

Disappearing Sidebar When I Add A Widget….

November 30th, 2008

I have just recently changed my wordpress theme and have found that when I add a widget to my second sidebar, the whole lot of entries disappear from that particular sidebar.

This had been driving me insane……

Well after some searching I have now found out how to do this and thought I would share it with everyone.

The way widgets work is basically you either have widgets on your sidebars or you have the hand-coded sidebar content. 

BUT .. you can change that.

In your sidebar.php file, find this, at the bottom, before the closing </ul>: <?php endif; ?>

Anything that you want to stay on the sidebar,  place UNDER that piece of code and they’ll display AFTER the actual widgets you have selected.

At least I can sleep tonight….. zzzzzz

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google Bookmarks
  • Yahoo! Buzz
  • TwitThis
  • Live
  • LinkedIn
  • Pownce
  • MySpace

General ,

  1. No comments yet.
  1. No trackbacks yet.

Security Code: