How do I automatically wrap default WordPress widgets into a DIV without altering the widgets themselves? I’m trying to do this, automatically:
<div class="widget">
Some WordPress widget's code
</div>
Is there a way to automatically wrap these widgets?
that is handled when you register the sidebar see http://codex.wordpress.org/Function_Reference/register_sidebar
and example as well