I added a custom sidebar inside the left sidebar template using do_shortcode function. Then I changed my mind and removed it. I deleted the code in the template, the widget and the custom sidebar. Then I logged out and found that the widget is still there. Here is the generated page code:
<div class="otw-sidebar otw-sidebar-1 otw-sidebar-vertical"> <div class="widget otw-widget-1 widget-first widget_text"> <div class="textwidget"> ... </div> </div> </div>
The otw-sidebar became a class and the widget is still here.
It is strange, but I see the widget only when I am logged out. When I am logged in there is no widget and if I inspect the page with Firebug, I don't see the above code.
How can I remove otw-sidebar and the widget completely?