Skip to content

[FEATURE] Option to only list tags of a particular category in an index page #40

Open
@Andre601

Description

From my testing are index pages for tags always listing all used tags across all posts. This includes index pages that have been defined for specific categories.

While this may be useful and/or desireable by people is it also a bit frustrating when a tags page set in /reviews/tags lists tags used from the /posts/ directory.

When possible should there be an option to tell the plugin to only list tags from posts within a certain category.
The best way is probably to have an aproach similar to the {{ blog_content }} placeholder where you can define a category. This means you could set {{ tag_content reviews }} and it would only list tags used in posts for the category reviews.

The question I have right now is: What to do with global pages?
My current setup has the main posts page as the default/global setting and reviews as a category. It would be optimal for me to have the tags page for posts only include those of that category, but since it's global would it probs be displaying all, including those of other categories...

Perhaps a system could be worked out where you can define multiple categories to be included or excluded?
Like {{ tag_content !reviews }} to include tags not used in the reviews category or like {{ tag_content reviews | other }} to include tags from the categories reviews and other.

For now a way to define a category would be ideal for my case here.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions