2012-07-22 100 views

回答

1
the_category(); 

或者,如果你想列出类别后,逗号deliminated:

the_category(', '); 

抄本是你的朋友 - http://codex.wordpress.org/Function_Reference/the_category

+0

它不工作。 – 2012-07-22 14:08:15

+0

发生了什么?有没有输出?或者只是您希望输出的空白空间? – m1ket 2012-07-22 14:10:42

+1

是的,空白。但我找到了一个解决方案:http://codex.wordpress.org/Function_Reference/get_the_terms。这是工作;) – 2012-07-22 14:26:10

相关问题