Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

create multiple tag groups

  • #9273
    Avatar photo[anonymous]

    It doesn’t seem to be available at the moment because only one group of “tags” exists and it’s only one page.

    But has anyone figured out how to make groups of tags ?

    The goal for me would be to have this:

    Group 1 (same design as home page)
    – Subgroup (current tag design)
    – Subgroup
    Group 2 (same design as home page)
    – subgroup
    – subgroup

    Thanks you

    #9275
    Avatar photoBob

    Maybe the {{#getTags}} helper can help you https://getpublii.com/dev/gettag-helper/

    #9283
    Avatar photo[anonymous]

    How do you envision this to be structured/designed? Is this a menu with sub-menu items, or some kind of layout, or breadcrumbs on the “sub-tag” page?

    #9318
    Avatar photo[anonymous]

    I would like to create main tag categories with subcategories.

    Example :

    Tag ID 1: Article about AI (domain.com/ai)
    Tag ID 1.1: AI on image generation (domain.com/ai/image)
    TAG ID 1.2: AI on text generation (domain.com/ai/text)
    … etc…

    The goal would then be to have all the main tags on the home page and then navigate deeper

    This is what wordpress does a bit and the article that we put in the category ID 1.2 is obviously visible in the category 1.1

    I don’t know if it’s very clear 🙂

    #9321
    Avatar photo[anonymous]

    The example you give make sense and seems to indicate that you want URL sub-directories.

    From what I understand, this isn’t available out of the box and is a bit tedious to implement for larger sites.

    See: https://forum.getpublii.com/topic/is-there-a-way-to-create-posts-automatically-inside-subfolders

    How comfortable are you with modifying the partials and template files?