display category names
The following example displays category links sorted by name, shows the number of posts for each category, and excludes the category with the ID of 10 from the list.
<ul>
<?php wp_list_categories( array(
'orderby' => 'name',
'show_count' => true,
'exclude' => array( 10 )
) ); ?>
</ul>
https://developer.wordpress.org/reference/functions/wp_list_categories/
--------
Vagy: -ha a category plugint beallitottam:
<?php foreach( get_categories(['hide_empty' => false]) as $category) {
echo $category->name . '<br>';
echo do_shortcode(sprintf('[wp_custom_image_category term_id="%s"]',$category->term_id));
} ?>