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.

How to use multiple taxonomies instead of only tag?

  • #8608
    Avatar photo[anonymous]

    Hi there,

    I need to use multiple taxonomies, say, taxonomy 1 (colour) which has its terms such as red, green, blue etc, taxonomy 2 (size) and also has its own terms such as L, M, S etc, and so on.

    The only thing I can do now is to put all the terms in tag (the default taxonomy). So it makes red, green, blue, L, M, S etc together which is obviously not very satisfactory.

    Anyone can guide me how to add extra taxonomy so that I can use multiple taxonomies instead of only tag?

    Many thanks!

    #8627
    Avatar photo[anonymous]

    I am not clear on how you intend to use this, I assume like a store of course, however what are your expectations – tags – menus – drop-down selection boxes – etc. I am sure something can be done in Publii if you do not mind getting dirty under the hood. You would have to code handlebars, html, and json files. Not hard, but would take some effort to get into.

    Have you considered hiring the Publii guys to help you out?

    Cheers!!

    #8694
    Avatar photo[anonymous]

    I think the problem here is we only have tags in Publii but no categories. They are different as they help us organise information in different ways. We can now only use tags as categories but may face problems like I said above.

    #8704
    Avatar photo[anonymous]

    Hi, I also have the same question/issue. I would like to convert a number of websites from WordPress to Publii, but this is one of the major issues currently blocking that — we need more than just “tags” for organisation, “categories” are a very different concept which covers different usage and they complement each-other. For example:

    • Categories: Products, Services
    • Tags: ground, air, sea, 2021, 2022
    • => A user can easily filter for only products, only services, anything from the year 2022, etc. With only tags available, we’d need to implement something like “products-2021, products-2022, etc.” which is an ugly kludge and not searchable

    Is there a way to implement this functionality via a plugin perhaps, or by sponsoring a bounty?