Posted By

lromak on 10/14/10


Tagged

wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bobbym245


Show category name as page title without link (name only) in Single Post


 / Published in: CSS
 

  1. <h2><?php
  2. foreach((get_the_category()) as $category) {
  3. echo $category->cat_name . ' ';
  4. }
  5. ?></h2>

Report this snippet  

You need to login to post a comment.