Print taxonomy term in node without link in drupal 6

Put these lines to your node.tpl.php file:

<?php if ($terms): ?>
$vocabularies = taxonomy_get_vocabularies();
foreach($vocabularies as $vocabulary) {
if ($vocabularies) {
$terms = taxonomy_node_get_terms_by_vocabulary($node, $vocabulary->vid);
if ($terms) {
print '<span class="taxonomy">';
foreach ($terms as $term) {
print $term->name;
print '</span>';
<?php endif; ?>



8 responses to “Print taxonomy term in node without link in drupal 6”

  1. ida says :

    i cukup suka php tapi keknya jarang dicari dh.. dah pada nyari yang kek drupal, CF, dll ya?? :-/

  2. ida says :

    iye. ColdFusion

  3. ida says :

    ajarin java.. hohohoho…

  4. outcall escort says :

    It is rather interesting for me to read this article. Thanks for it. I like such topics and anything that is connected to them. I definitely want to read more on this blog soon. BTW, rather nice design you have here, but don’t you think it should be changed every few months?

    Katty Pingtown

  5. Kiev escort says :

    Intresting aricles you place here.
    It would be useful to read anything more concerning this topic.
    Thnx for tell that information.
    With best regards Angela!!

  6. Mild Seven Cigarettes Online says :

    There is many a fair thing full false.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: