Hi
Can anyone tell me why "get_category_parents()" doesn't work when displaying a single post??
need to display the category and sub-category a post is in, and while it works elsewhere on the site it doesn't in this instance.
Code is:
<?php elseif (is_single()): ###format INDIVIDUAL posts###?>
<?php echo(get_category_parents($cat, TRUE, ' » '))?>
<?php endif; ?>
Thank in advance
jim