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