I accidentally added a widget area called sidebar 1 (because I was an idiot and read the instructions in the Widget Name area wrong). Now it's currently conflicting with my Theme Sidebar (theme is Divi Elegant Themes). Went I load the blog page of the website, the sidebar 1 shows up instead of the default sidebar.

Is there any way to remove this new widget area without breaking the entire website?

1 Answer 1


There should be a line like this in your functions.php of the theme:


    // ... some code before
        'name'          => __('unwanted widget', 'your-textdomain'),
        'description' => __('Your new widget desciption', 'your-textdomain'),
        'id'            => 'your-new-widget-name'

    // ...some code after

Search for that line and change it. Basically, simply rename your unwanted Sidebar 1 to something different.

You have overwritten the default widget with a new one and created a name conflict. Change the name of your unwanted widget, that should fix it.

  • Thanks for the quick answer. I've already tried looking for register_sidebar in the functions.php file but couldn't find it. There is register_nav_menus, register_post_type and register_taxonomy but no register_sidebar
    – user117414
    Commented Apr 11, 2017 at 15:10
  • Sorry, that this didn't help you, I think I/we need more code to find the problem. Commented Apr 11, 2017 at 15:17
  • What code specifically do you need? P.S. There is a sidebar.php file
    – user117414
    Commented Apr 11, 2017 at 15:26
  • It would be good to know, what you did in first place, as this caused all your trouble. Are there any chances you can reproduce what you did? I don't want you to mess it all up with my "glassball" solutions.. I'll check back later tonight. I still believe it is a name conflict. Commented Apr 11, 2017 at 15:32
  • In the Widgets area of Appearance there is a section that lets you create a Widget Area. It asks you to add a widget name and click on the "create" button. I accidentally created the widget area "sidebar-1" without thinking. I think it probably registers the widget area using this method. Unfortunately, it doesn't let you unregister, delete or rename it once it's created. I think you are correct in saying it's a name conflict (as it warns that there will be one if I use a name like that) but I don't know where to locate it to fix it.
    – user117414
    Commented Apr 11, 2017 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.