How to customize category template?
Here is your solution- <?php /** * The template for displaying category archive pages. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Codilight_Lite */ $cat = get_category( get_query_var( ‘cat’ ) ); $cat_id = $cat->cat_ID; $child_categories=get_categories( array( ‘parent’ => $cat_id, // Uncomment the below line if you want empty category to appear on the list. // ‘hide_empty’ … Read more