Taxonomy allows users to add terms to content. The taxonomy for a site contains one or more vocabularies and each vocabulary contains a set of terms. In Drupal 7 settings for taxonomy module can be found at Administer > Structure > Taxonomy. The Taxonomy module organizes taxonomies into vocabularies which consist of one or more terms. Each vocabulary consists of a set of terms.
This piece of code will display the terms.
<?php
if (
$terms
):
?>
<div class="terms"><?php print $terms ?></div>
<?php endif;?>
No comments:
Post a Comment