I was mucking around with Tiga's sidebars.php tonight, and tried this:
<?php
function has_dynamic_sidebar($name) {
if (!function_exists('dynamic_sidebar'))
return false;
if (!dynamic_sidebar($name))
return false;
return true;
}
?>
<!-- ##################################### Begin - Left Sidebar ##################### -->
<?php if (has_dynamic_sidebar('Tiga Left Sidebar')) { ?>
<ul class="left-sidebar">
<?php dynamic_sidebar("Tiga Left Sidebar"); ?>
<?php } else { ?>
<?php } ?> <!-- End checking of 'dynamic_sidebar' -->
<!-- ##################################### End - Left Sidebar ####################### -->
<!-- ##################################### Begin - Right Sidebar #################### -->
<?php if (has_dynamic_sidebar('Tiga Right Sidebar')) { ?>
<ul class="right-sidebar">
<?php dynamic_sidebar("Tiga Right Sidebar"); ?>
<?php } else { ?>
<?php } ?> <!-- End checking of 'dynamic_sidebar' -->
<!-- ##################################### End - Right Sidebar ###################### -->
-------------------------------------------------------
Basically, I changed has_dynamic_sidebar() to match what I saw in other themes, and deleted the default widgets that are populated if the user doesn't populate the sidebar widgets.
The good news is that this gets us close -- if you populate the widgets under presentation->widgets, the sidebars now show up with the correct widgets!
The bad news is that the left sidebar is being double-populated -- once with the correct sidebar look and feel, and once with the selected widgets for both sidebars but without any formatting. Try it and you'll see. I'm not sure why that is occuring. I'm hoping someone else will have some ideas.