/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $category = get_the_category(); echo $category[0]->cat_name; ?>