wp_tag_cloud()
カスタム分類法でカテゴリを表示するために使用しています。
$args = array
(
'format' => 'list',
'orderby' => 'name',
'order' => 'ASC',
'topic_count_text_callback' => default_topic_count_text,
'link' => 'view',
'taxonomy' => 'my_tax',
'echo' => true
);
wp_tag_cloud( $args );
問題は、投稿のあるカテゴリのみが表示されるため、40以上のカテゴリが表示されるのではなく、3つしか表示されないことです。
wp_tag_cloudにすべてのカテゴリを表示させる方法はありますか?