More Premium Hugo Themes Premium React Themes

Strapi Plugin Content Tags

Strapi Plugin Content Tags

Author Avatar Theme by freyb
Github Stars Github Stars: 8
Last Commit Last Commit: Nov 14, 2024 -
First Commit Created: Dec 18, 2023 -
Strapi Plugin Content Tags screenshot

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:

  1. Open the file ./src/api/[content-type-name]/content-types/[content-type-name]/schema.json.
  2. In the pluginOptions section, configure the tags of the collection type.
    • Set fieldName to the reference field specified in the attributes section.
    • Set tags to 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.
  3. In the attributes section, define a field using the provided custom component.
    • This can be done by either editing schema.json manually or adding it through the Content-Type Builder.

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.