Posted By

hstothard on 02/08/10


Tagged

wordpress category


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrianCoyDesign


Wordpress - Category title and description in template


 / Published in: PHP
 

  1. <?php $category = get_the_category(); echo $category[0]->cat_name;?>
  2. <?php $category = get_the_category(); echo $category[0]->category_description; ?>

Report this snippet  

You need to login to post a comment.