If you want to Display Subcategories on Category Pages for a given category on it’s category and subcategories pages, then simply you can copy and paste below code in your category.php page or where you wanto to show.

images

Copy and paste below code in your category.php page