I'm trying to add a custom sidebar to a custom page template. The custom sidebar shows up, but so does the regular sidebar. I don't even have a function calling the sidebar in the custom page template so why is it there? Here is the page in question and this is the code from that page:
<?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?>
</div>
<br class="clear" />
</div>
</div>
<div id="primary">
<div class="add-box"><?php if(function_exists('dynamic_sidebar') && dynamic_sidebar('obit-sidebar-ad-1')){} ?> </div>
<div class="add-box-2"> <?php if(function_exists('dynamic_sidebar') && dynamic_sidebar('obit-sidebar-ad-2')){} ?> </div>
<div class="add-box"> <?php if(function_exists('dynamic_sidebar') && dynamic_sidebar('obit-sidebar-ad-3')){} ?> </div>
</div>
<?php get_footer(); ?>
My other question is, I also need these custom "obit" sidebars on all posts in the obituary category, as opposed to the sidebars on the rest of the site. How do I accomplish this?
Thanks!