Drupal get terms from node


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if (arg(0) == 'node' && is_numeric(arg(1)) && is_null(arg(2))) {
  2. $terms = taxonomy_node_get_terms(arg(1));
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.