How to show the clicked category related posts on category detail page?
I have used a custom page using this code, these links redirect to Category detail page which showing Nothing Found. How can I show the clicked category related posts on category detail page? Note: I am using twentytwenty-child theme.
?php /* Template Name: Our Jobs */ ?
?php get_header(); ?
?php wp_list_categories(array(
'parent' = '17',
'show_option_all' = '0',
'orderby' = 'name',
'order' = 'ASC',
'style' = 'list',
'show_count' = 1,
'hide_empty' = 1,
'use_desc_for_title' = 0,
'child_of' = 0,
'feed' = '',
'feed_type' = '',
'feed_image' = '',
'exclude' = '',
'exclude_tree' = '',
'include' = '',
'hierarchical' = 0,
'title_li' = __( 'h2' . __( 'heading' ) . '/h2' ),
'show_option_none' = __( 'No categories' ),
'number' = null,
'echo' = 1,
'depth' = 0,
'current_category' = 0,
'pad_counts' = 0,
'taxonomy' = 'category',
'walker' = null
)); ?
Topic pods-framework categories Wordpress
Category Web