WordPress, wenn sich in Categroy befindet

// Find out in Wordpress if a single/page is in a chosen category
if (in_category('fruit')) {
    echo "This single/page is in category 'fruit'.";
}
Imre