WordPress Single Post Get название категории
$category = get_the_category();
$firstCategory = $category[0]->cat_name;
Weary Wildebeest
$category = get_the_category();
$firstCategory = $category[0]->cat_name;