I'm trying to use in_category() in the footer so that I only show html code when the page is in a particular category. I'm pretty sure that it's not working because I'm outside the loop.
If this is a simple matter of pasting a short bit of code (e.g. global $post ...), I'd really appreciate it if you could tell me where it is that I'll need to post the code along with any changes I need to make to the code below which occurs in the footer.php file.
<?php if(in_category('597') ){ ?>
A special message for the reader
<?php } ?>