Contentful logo

Contentful Community

How to implement tags and taxonomy across content models

I’m new to Contentful, so this might be obvious, but I’d love to know if there’s a best-practice way to implement taxonomy across multiple content models. For instance, if I have a blog model and a portfolio model, I’d like to show related items from both models at the same time. Is there a way to achieve this?

Hi @jdozierezell,

We have two standard approaches in implementing this:

  1. organizing tags through short-text list fields and later use the API to query them appropriately

  2. organize “categories” as part of a different content type and reference them in each entry that applies

In the end of the day, it will depend on what your use cases are and here are a few references that could help you dig deeper into this topic:

https://www.contentful.com/faq/basics/#how-do-i-categorize-my-content