title: How to tell Wordpress category page to call specific sidebar
body: <p>I am trying to pull in a styled sidebar specific to the category. I have the following code which works, but it is pulling in BOTH my new sidebar and the default. What am I doing wrong here?</p>
  
  <p><em>From category.php</em></p>
  
  <pre><code>&lt;?php get_sidebar();
  if ( in_category('39') ) {
  include(TEMPLATEPATH . '/sidebar2.php');
  
  } else {
  include(TEMPLATEPATH . '/sidebar.php');
  
  }
  ?&gt;
  &lt;?php get_footer(); ?&gt;
  </code></pre>