<?php
/**
* GET SUB CATS FROM A CATEGORY
*/
$args = array('child_of' => 7 , 'hide_empty' => 0);
$categories = get_categories( $args );
foreach($categories as $category) {
echo '<div class="col">';
// The data is showing well but I would like to fetch the image linked to this subcategory
echo '<h3><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a></h3>';
echo '</div>';
}
?>