Work with Tags¶
Once you have created content items that follow the structure defined within the content model, you can create taxonomies that consist of tags, to help users find the content they need.
Add tag¶
There are two ways to create tags: directly in the taxonomy tree or by clicking the Create button in the Tags section.
- To create a new tag using taxonomy tree, in the left panel click Content -> Tags.
- In the Root section, click the three dots icon on the level/place you want to add new tag and select Add.
- Enter a unique name for the new tag.
- Add the tag's identifier.
- (Optional) Add tag description.
- To set the parent category, click the Select parent button.
- To save a new tag, click Save.
Now, the tag is visible in the taxonomy tree.
Assign tag to content from taxonomy tree¶
Taxonomy is controlled and configured by the Taxonomy Entry Assignment Field settings, so you can use multiple Fields of this type with different taxonomies, for example, tags and product categories in the same content type. To be able to assign tags to a Content, first, you need to add a Taxonomy Entry Assignment Field to the content type definition.
- Go to Content types -> Content.
- Click the Edit icon next to the content type you want to modify.
- Go to Field definitions and from the available options, drag and drop the Taxonomy Entry Assignment to fields in the content type.
- From the Taxonomy drop-down, select the taxonomy type you want to tag this content item with.
Now, when you edit or create a content item of this type, in the tags section, you can add a tag by clicking Select Taxonomy Entries. See Add taxonomy entries.
Duplicate taxonomy fields
Because tags are assigned per content item, not per Field, you cannot use two Taxonomy Entry Assignment Fields with the same taxonomy type in one content type.
Add tag translation¶
If you have more than one language version of your website, you can also translate tags that are used in the website into the target language.
- Go to the Tags section.
- Click a tag and go to the Translations tab.
- Click +Add new and from the available languages, set the source and target language.
- To finish, click Create.
Delete tag¶
You can delete tags directly from the taxonomy tree. Go to Tags section.
- Click the three dots icon next to the tag you want to delete.
- From the context menu, select Delete.
View all content items with specific tag¶
You can view a list of all content items which are tagged with the given tag. To do it, go to Tags section. In the taxonomy tree click the respective tag and go to the Content tab.