/ Published in: PHP
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $category = get_the_category(); echo $category[0]->cat_name; ?>
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
<?php $category = get_the_category(); echo $category[0]->cat_name; ?>