Revision: 23482
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 8, 2010 12:14 by hstothard
Initial Code
<?php $category = get_the_category();?> <?php if($category[0]->cat_name == 'Title1'): ?> <h2>Title 1</h2> <?php else : ?> <h2>Title 2</h2> <?php endif ?>
Initial URL
Initial Description
Initial Title
Wordpress - If is string
Initial Tags
wordpress
Initial Language
PHP