Hey guys, please please help :)
I have a function in this pastie code http://www.pastie.org/4276093 and I need to place this piece of code:
<?php if (in_category('featured')) : ?> <a href="<?php the_permalink(); ?>"> <span class="featured_icon"> <img src="<?php bloginfo('template_directory'); ?>/images/featured_icon.png" /> </span></a> <?php endif; ?>
between line 16 and 19 from the pastie code: http://www.pastie.org/4276093! Can anyone please help, cause I don't know how to add "if the post is in category" to the function I have.