I would like to create a custom Categories widget that lists only the categories found in posts belonging to a specific term from a taxonomy. I have created a new custom categories widget that extends the default Categories widget, but I cannot figure out how to set the arguments to limit the results. I have tried multiple approaches to setting up the arguments, but to no avail.
Does anyone have any suggestions?
Also, to help think about this, each taxonomy term is an area of interest similar to a newspaper section. Those taxonomy terms have a 'home page' that should have all sidebar items filtering out any sibling or parent terms and showing only the ones within posts to the section. I appreciate the help!