I need your help to solve my problem.
So, what I can't make:
For instance, I have a category 'NEWS', this category has some subcategories 'POLITICS', 'SPORT', 'LIFE' etc.
In the sidebar displayed a list of author's names and if I click for some author in some category I need to show only posts written by this author and from the current category, subcategory.
How can I create it? I suppose that it's able to create by pre_get_posts but not sure.