I'm developing a custom theme and I added some widgetized sidebars like so:
register_sidebars(2, array('name'=>'Foobar %d'));
I then recreated them so that I could give them semantic names. Like so:
register_sidebar(register_sidebar( array( 'name' => 'Sidebar' ) )); register_sidebar(register_sidebar( array( 'name' => 'Sub Menu' ) ));
But now in my admin area I see 4 sidebars. How do I delete the two older sidebars? I can unregister them using
unregister_sidebar but I don't want to keep those 2 lines of code in my theme forever.
I found this in the DB under
sidebars_widgets. It looks like they are indeed saved in the DB. Do you have any idea which bits to delete?