Fix for Fix for Fix for term description to display as a sub-page title for each different termid (argument)

  1. <?php
  2. $term_name = arg(1);
  3. $matching_terms = taxonomy_get_term_by_name ($term_name);
  4. if (count($matching_terms) > 0) {
  5.   print '<p>'. $matching_terms[0]->description . '</p>';
  6. }
  7. ?>

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.