Hi all,
First of all my apologies if I fail to properly explain myself, as this is something that I am not quite sure how to properly explain and English isn’t my native language. Please let me know if something needs clarification and/or additional details.
So it happens that currently I am making use of both categories and tags to keep publications to both display them in website’s side bar in their corresponding category, as well to (somewhat) keep them organized.
Based on this, there are some “main” categories (e.g., “review”, “concerts”), that have several tags on them (e.g., “Therion”, “Ayreon”, “Band-Maid”) and a page for each of those tags.
So far it worked well enough as there were not that many articles (and not that many that were shared between different categories), but recently a new category was added (e.g., “interviews”) where some of the already existing tags have been used, meaning that a single tag is now present among 2-3 categories.
The thing is that on the current Tag Page that is created for each tag, I can find all the post for a single tag disregarding the category, but I would like to create a tag page that is only for the entries under certain category. For example, in side bar I have the following:
review:
- Therion
- Ayreon
- Lacrimosa
concerts:
- Therion
- Band-Maid
interviews:
- Therion
- Ayreon
Currently, if we click on Band-Maid (BM) link, it’ll display a tag page that will contain all BM related posts, which it’ll be ok, as post for this tag are all under “concert” category. However, if we click on “Ayreon”, that tag page will show all posts under “review” and “interviews” category, and same case for Therion and it’s 3 categories.
So the main idea/goal would be to, when clicking “Therion” under review, the displayed page would contain only those posts for that tag (Therion) under that category (review) and nothing else. Same case if we click on Therion’s link under “concert”, and “interviews” categories.
I’ve tried to take a look at having multiple categories (as all those fall under a (theoretical) “music” general category), and probably using collections, although I am not quite sure if those would be the appropriate option for this use case (and also I’ve been dense enough to probably misunderstanding how those features work, heh).
I think (based on stuff that I do on .NET) that technically speaking, it should be somewhat possible to get the desired output, but as I am not familiar with how Liquid tags work, as well Ruby, I am not quite sure if this is possible at all.
Any ideas, suggestions, about what to check/learn to be able to do this?
Thanks in advance.