I have two post types "restaurant" & "pub", they both share same custom taxonomy "country". And I display each post type in archive page.
What I want to do is, when I visit "restaurant" archive page, there is the taxonomy "country" terms listed as the menu in that page. The terms has to be from the posts that created in "restaurant" post type, so when user click on the terms (let say "US"), it will display the posts from "restaurant" that in "US".
Here is the illustration: