title: Dynamic Sidebars: Else statements with Wordpress Widgets
body: <p>My site is set up to show a specific widget based on the page. What I want it to do is show a specific widget based on one category. My current code partially works: it shows the widget based on the category, but it also shows the widget that should only populate if the user is viewing another page. Here is my code:</p>
  
  <pre><code>&lt;div id="banner"&gt;
  &lt;?php if ( is_category( 'dogs' ) || !function_exists('dynamic_sidebar') || !dynamic_sidebar("Top Dogs") ) : ?&gt;
  &lt;?php elseif ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Cats") ) : ?&gt;
  &lt;?php endif; ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What am I missing/doing wrong here?</p>