Zdobądź First Cat PHP WP
<?php
$category = get_the_category();
echo $category[0]->cat_name;
Andrew Lautenbach
<?php
$category = get_the_category();
echo $category[0]->cat_name;