【问题标题】:Get terms lists from post->ID, is it possible?从 post-> ID 获取术语列表,可以吗?
【发布时间】:2014-06-16 11:44:19
【问题描述】:

我有一个名为“作品集”的帖子类型,还有许多分类法“设计”、“代码”等...... 对于每个分类,我都有术语(例如:内部设计:photoshop、illustrator 等......)

每个学期我都有很多帖子。

如何动态检索帖子的术语和分类?

函数 get_the_term_list( $id, $taxonomy, $before, $sep, $after ) 不适合我的需要,因为我需要提前获得分类名称。

是否可以从 post->ID 获取附加到帖子的条款?并获得我注册此帖子的分类名称?

谢谢。

【问题讨论】:

    标签: wordpress taxonomy


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-24
      • 1970-01-01
      • 1970-01-01
      • 2012-02-21
      • 1970-01-01
      • 2011-09-10
      相关资源
      最近更新 更多