$args = array(
'type' => 'post',
'child_of' => 0,
'parent' => 0,
'orderby' => 'name',
'order' => 'ASC',
'hide_empty' => 1,
'hierarchical' => 0,
'exclude' => '',
'include' => '',
'number' => '',
'taxonomy' => 'category',
'pad_counts' => false
);
$cats = get_categories( $args );
foreach( $cats as $cat) {
if($cat->parent == 0) {
$parent_cat = null;
$head = $cat->name;
$head_id = $cat->term_id;
}
echo "<ul><a class='parent-category' href=''>" . $head . "</a>";
wp_list_cats("sort_column=NAME&optioncount=0&hierarchical=1&hide_empty=0&child_of={$head_id}&show_option_none=");
echo "</ul>";
}
add_action( 'wp_print_styles', 'dequeue_fonts_style' );
function dequeue_fonts_style() {
wp_dequeue_style( ‘calafate-font-body' );
wp_dequeue_style( ‘calafate-font-head' );
wp_dequeue_style( ‘calafate-font-menu' );
wp_dequeue_style( ‘calafate-font-quote' );
wp_dequeue_style( ‘calafate-font-head-h1' );
}