Listado de taxonomías $term para un nodo

08 February 2011 – 13:00

Mini snippet sobre cómo conseguir la misma variable $terms (listado de taxonomy) que tenemos en node.tpl.php:

$taxs = taxonomy_link('taxonomy terms', $node);
$terms = theme('links', $taxs, array('class' => 'links inline'));
print $terms;

Publicado originalmente en mi antiguo blog, 3oheme.com, y recuperado de archive.org.

This is the personal website of Ignacio Palomo Duarte, Product Manager. If you're looking for my portfolio and more information just have a look at the homepage, and if you liked this article maybe you can share it on Bluesky.