In the ‘StudioPress’ theme, the sidebar contents are hard-coded in sidebar.php. Save the original sidebar.php to sidebar-original.php, and use the code below as sidebar.php:
<div id="allsidebars">
<div class="sidebarswrapper"><div class="sidebars">
<?php if (get_option('greeting') || get_option('welcomemessage')) {
echo "<div id='welcome'>";
if (get_option('greeting')) {
echo "<h2>" . get_option('greeting') . "</h2>";
}
if (get_option('welcomemessage')) {
echo "<p>" . get_option('welcomemessage') . "</p>";
}
echo "</div>";
} else {
echo "<div id='welcome'><h2>Welcome!</h2><p>To customize this message, please go to your Admin panel and find Presentation->Theme Options. Modify at will!</p></div>";
}
?>
<div class="sidebarsbottom"></div>
</div> <!-- Closes Sidebars -->
</div> <!-- Closes SidebarsWrapper -->
<div class="sidebarsB">
<div class="adsense_sidebar"><?php include (TEMPLATEPATH . '/adsense_sidebar336.php'); ?></div>
<div class="sidebar1">
<ul>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar1') ) : ?>
<?php endif; ?>
</ul>
</div> <!-- Closes Sidebar1 -->
<div class="sidebar2">
<ul>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar2') ) : ?>
<?php endif; ?>
</ul>
</div> <!-- Closes Sidebar2 -->
<div class="cleared"></div>
</div> <!-- Closes SidebarsB -->
</div> <!-- Closes allsidebars -->
This has been tested only a little!