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