For each category I have 2 sub categories with same name. For example, Category1 has two subcategories: Sub1, Sub2.
On the category archive page, I want to display the posts from Sub1 and Sub2. So how can I use the post loop to always get posts from Sub1 and Sub2.
I have thought of something like this:
$args = array( 'category_name' => 'sub1', 'posts_per_page' => 10 );
But the problem is that each subcategory "Sub1" will have different slug. Is it possible to get the posts by the subcategory name and specifying its parent name?