I have five categories for a custom post type, additionally I have installed a plugin to enable upload image to each category detail, actually I can get show list of categories with details. I need to show a list like the follow structure:
Image Category
Category Name One
This is the category description for category one
Image Category
Category Name two
This is the category description for category one
This is my acual code:
$customPostTaxonomies = get_object_taxonomies('products');
if(count($customPostTaxonomies) > 0)
{
foreach($customPostTaxonomies as $tax)
{
$args = array(
'orderby' => 'name',
'show_count' => 0,
'pad_counts' => 0,
'hierarchical' => 1,
'taxonomy' => $tax,
'title_li' => '',
'hide_empty' => 0
);
wp_list_categories( $args );
}
}
With this code I only archive print list of categories in bullet but without any detail.