我从我所有的帖子中都得到了get_terms
,
$tags = get_terms( \'mytags\', \'&number=5&orderby=date&order=desc&hide_empty=1\' );
foreach ( $tags as $tag ) {
echo \'<a href="\'.get_bloginfo(\'url\').\'/tags/\'.$tag->slug.\'">\'.$tag->name.\'</a>\';
}
有没有可能在作者的帖子中加入\\u术语?我尝试添加一个包含作者中所有术语(标记)的列表。php模板,非常感谢!