I have a custom post type called freebies. This custom post type has its own taxonomy with the "normal" categories from wordpress, (which are child-categories from freebies) and own custom taxonomy used as tags (called freebie-tags)
I have managed to have own templates for the freebies: archive-freebies.php and the posts from child categories of freebies are displayed in category-freebies.php. The tags from freebies are displayed in the template taxonomy-freebie-tags.php
Now when the visitor clicks on a category in freebies, he sees the posts in this category, and when clicking on a tag in freebies, he sees those posts with the tag.
I'd like to combine these two, so that when the visitor is in a child-category, and clicks on a tag (they are displayed on the sidebar as a cloud) he will see a template which shows only those posts which are a) in the child-category and b) have the specific tag.
The other way round (also when viewing posts with a certain tag and clicks on category) is not neccessary.
So this question is
How to tell wordpress that it has to use a another template like category-freebies-taxonomy-freebies-tag.php
how to build the links for the cloud that they show posts only from this specific child category where the user is now, and tagged with this tag?
Sorry if here is no efford from my side, but I had so much difficulties with showing the appropriate templates for so far, that I have no idea where to go further with this. I searched here and google also, but did not found anything, since this is not related to normal post, rather to custom post type...