December 22, 2015
Use if statement found here that allows you to sort by the parent category, to show only relevant child categories on various landing pages:
// in category template, test if queried category is child of another category if ( is_category() ) { $parent = 8; $categories = get_categories('include='.get_query_var('cat')); if ( $categories[0]->category_parent == $parent ) { echo 'category ' . $categories[0]->name . ' is a child of category ' . $parent; } }