Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有块显示我网站的自定义帖子类型中的所有类别,如下所示:-
$cat = get_terms( "progamdvideo_c", $args ) ;
现在在帖子类型我添加文章,每篇文章都有作者,如何在这个块中显示他。
这是通过过滤空帖子用户来显示作者列表的代码。它可以帮助你,
<?php wp_list_authors('show_fullname=1&optioncount=1&orderby=post_count&order=DESC&number=3'); ?>