Ask me a question at the Wordpress Ninja Forum
Duplicate Sections In The Sidebar - How Did They Get There?
Posted on August 2, 2008
Filed Under Wordpress Solutions |
Had a great question from someone who had multiple ‘Categories’, ‘Recent Posts’, ‘Recent Comments’ etc. showing up in her sidebars. Upon examining her sidebar.php file (this was using a Prosense theme), there were no duplicate sections of code. This only left one explanation…Widgets!
Widgets can be great for adding things really easily, but you do lose a fair amount of control by using them. In this case she had widgets set up to display those sections in her sidebars, as well as the hard-coded sections in the sidebar.php file. This caused the duplicates.
Here’s how you fix it.
To remove those widgets, go to your WP-admin (assuming Wordpress 2.5.1 or later) area and go to Design>Widgets then make sure the left sidebar is selected (top right of screen - drop down box for sidebar - probably called ’sidebar1′). Then expand the unwanted widgets and choose ‘Remove’ for each. That’s it.

Some people love widgets, but I normally don’t use them as i can get much more control over where i put things by doing it manually - but that’s just me ![]()
Comments
Leave a Reply
Related Posts:
Hi, i am the Wordpress Ninja. My name is Paul and my goal is to be able to answer everyone's Wordpress questions (for free) and post the best solutions on this blog. So for all questions and issues please post in the