按方面显示术语(词汇表)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了按方面显示术语(词汇表)相关的知识,希望对你有一定的参考价值。
<?php /* sort taxonomy links by vocabulary 27 */ $terms27 = taxonomy_node_get_terms_by_vocabulary($node->nid, 27); if ($terms27) { print '<div class="terms">Forums: '; foreach ($terms27 as $key => $term27) { $lterm27 = l($term27->name, 'taxonomy/term/'.$term27->tid); print $lterm27.' - '; } print '</div>'; } ?> <?php endif; ?>
以上是关于按方面显示术语(词汇表)的主要内容,如果未能解决你的问题,请参考以下文章