When I choose category from dropdown then everything working fine.But in backend it checked only child not parent [closed]
You can add custom columns in wp-admin to show parent category. It’s here my code, you can try it (I tested with post_type is post (default)). // Add the custom columns to the post post type: add_filter( ‘manage_post_posts_columns’, ‘set_custom_edit_post_columns’ ); function set_custom_edit_post_columns($columns) { $columns[‘parent_cat’] = __( ‘Parent Category’, ‘storefront’ ); return $columns; } // Add … Read more