Overview:
The Strapi Plugin Content Tags is a plugin for the Strapi CMS that allows users to add custom tags to their content.
Features:
- Custom Tags: Users can add custom tags to their content.
- Configuration: The plugin includes options for configuring the tags of the collection type, such as color and default tag.
- Custom Component: Users can define a custom field in the attributes section using the provided custom component.
Installation:
To install the Strapi Plugin Content Tags, follow these steps:
- Open the file
./src/api/[content-type-name]/content-types/[content-type-name]/schema.json. - In the
pluginOptionssection, configure the tags of the collection type.- Set
fieldNameto the reference field specified in the attributes section. - Set
tagsto an object where the keys are the labels of the tags. - For each tag, specify the following properties:
color: The display color of the badge, with possible values: alternative, danger, neutral, primary, secondary, success, or warning.defaultTag: A key in the tags object that will be assigned to entities by default.
- Set
- In the attributes section, define a field using the provided custom component.
- This can be done by either editing
schema.jsonmanually or adding it through the Content-Type Builder.
- This can be done by either editing
Summary:
The Strapi Plugin Content Tags is a useful plugin for the Strapi CMS that allows users to easily add custom tags to their content. This provides a flexible way to categorize and organize their content for better management and retrieval. The plugin offers a range of configuration options, such as setting the display color of the tags and specifying a default tag. Installation is straightforward, requiring edits to the schema file or using the Content-Type Builder. Overall, this plugin enhances the functionality and customization capabilities of Strapi CMS.