I have a nested list of a particular taxonomy but it only shows the taxonomy names. I want to actually show the list of posts for that custom post type for that taxonomy. Do I need to use WP_Query to get the posts or what is the best way to achieve this? <?php $categories = get_terms( ‘my-taxonomy’, array( ‘hide_empty’ => 0, ) ); $subcategories = $subsubcategories = $categories; foreach ( $categories as $category ) { // Only top level terms…