I am using a simple if/elseif/else bit of code to generate a header image for my page, I can't seem to understand why it isn't working properly. It determines the category of the page being displayed and displays a header accordingly. Here's the code in my header.php:
<?php if (is_category('dino run') || has_category('dino run')) { ?>
<a href="dino-run/"><li><div class="logo splash2">Dino Run</div></li></a>
<?php } elseif (is_category('potatoman') || has_category('potatoman')) { ?>
<a href="http://www.pixeljam.com/potatoman/"><div class="logo splash4">Potatoman Seeks the Troof</div></a>
<?php } elseif (is_category('glorkian' || 'glork') || has_category('glorkian' || 'glork')) { ?>
<a href="glorkian"><div class="logo splash3">Glorkian Warrior</div></a>
<?php } else { ?>
<a href="#"><div class="logo splash1">The Pixeljam Octology</div></a>
<?php } ?>
The problem I'm having is I click on a post that has a category "Dino Run" and it displays fine... but when I click on a post that doesn't have any of the above 3 defined categories it doesn't fall through to the else statement, it actually displays the third header "Glorkian Warrior".
Any ideas what I did wrong here?