`
rexcn
  • 浏览: 87377 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

列出所有terms的token

阅读更多
装上token_custom插件



定义一个token为:

// For all taxonmoy terms
$my_value = array();
foreach  ($node->taxonomy as $tid => $term) {
  $my_value[] = $term->name;
}
$yourtoken = implode(' ', $my_value);
print $yourtoken;
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics