Listing Category ‘child_of’ by slug rather than ID

You can get ID from slug quite easily:

$category = get_category_by_slug( 'clients' );
wp_list_categories('child_of=".$category->term_id);

Leave a Comment