Is there a way to do exactly what this code does here but have it dynamically pull the child_of value?
Examples
If I'm in the restaurants category or one of its child categories it should always display child categories of restaurants.
Domain.com/category/restaurants/vietnamese/
Domain.com/category/restaurants/
<?php wp_list_cats('sort_column=id&optioncount=0&use_desc_for_title=0&child_of=1'); ?>
Trying to avoid making a ton of category templates with the above code.