As a senior website operations expert, I am well aware of the core of the Content Management System (CMS) in my daily work, which lies in its ability to organize and present content.AnQiCMS as an enterprise-level content management system developed in Go language, has unique features in the flexibility of content models.Today, let's delve deeply into the functional differences between AnQiCMS' 'Custom Content Tags' and the 'Custom Fields' of traditional CMS or AnQiCMS itself, hoping to help everyone understand more clearly how to use these tools to optimize content operation strategies.


Revealing the 'Custom Content Tag' of AnQiCMS: Flexible Associate

当我们谈及AnQiCMS的“自定义内容标签”(通常简称为“标签”),它所扮演的角色更像是一个内容生态中的“话题”或“索引”。Imagine you are in a library, the labels are not the information of the books themselves, but sticky notes attached to the books, used for quick classification and finding related topics.

The most distinctive feature of the content tag in AnQiCMS is itsFlexibility across content models and categories.You can add tags to any article, product, page, and other content types. These tags do not have a strict hierarchical relationship, but they can associate seemingly unrelated content through a common topic.For example, an article about 'AnQiCMS features', a product introduction for 'SEO optimization', and a single page discussion on 'website security' can all be tagged with 'website operation'.Thus, when users click on the 'Site Operation' tab, they can easily find all related content, regardless of which category or content model these contents originally belong to.

It's more interesting that, the tag feature of AnQiCMS is not just simple text marking. According to the document, the tags themselves can haveTitle(Title),Description(description),Link(links), evenLogo(Image) properties.This means that tags are no longer isolated keywords, they can be given richer context and display forms, such as displaying exclusive Logos or descriptions of Tags on the Tag list page, which undoubtedly brings greater space for SEO optimization and user experience.tagListLabels, we can easily call and display these labels in the template,tagDataListThe ability to retrieve associated document lists based on specific tags greatly enhances the discoverability of content and the construction of internal links.

In-depth Analysis of AnQiCMS's 'Content Model Custom Fields': The Builder of Structured Data

With the "soft associationContent model inherently structured data.Every custom field is tightly bound to a specific content model. Once a field is defined for a model, all content under that model will have these fields, used to store specific types of information.

For example, a "product model" may require fields such as "priceThese fields have pre-defined data types and can be 'single-line text', 'number', 'multi-line text', 'single choice', 'multiple choice', or 'drop-down selection' and so on.Their existence is to refine the specific attributes of the content, support more complex business logic, such as product parameter filtering on e-commerce websites, and service feature descriptions on corporate websites.

Custom fields are directly displayed in the AnQiCMS backend when publishing content, for operators to fill in specific attribute values. On the frontend template, we usearchiveParamsLabel to get custom field data of the document, and can be displayed in a loop; andarchiveFilters标签则能利用这些字段构建强大的筛选功能,让用户能够根据产品的颜色、尺寸、内存等属性进行精确筛选,极大地提升了用户查找信息的效率和网站的功能性。

Essential Differences: Why Do Both Need to Coexist?

Understood the characteristics of each, we can clearly see the essential difference between 'Custom Content Tags' and 'Custom Fields', as well as why AnQiCMS needs both to coexist:

  1. Positioning difference:Label emphasizes “Association” and “ClassificationEnglishProperty” and “structureEnglish
  2. Scope is different:Tags canspanDifferent content models and categories, realizing a wide range of content aggregation; Custom fields arefixedWithin a specific content model, provide a unified and detailed data definition for the content under this model.
  3. Data forms differ:The label is a relatively flexible index that can carry a small amount of metadata itself, but its core function is as an association identifier; custom fields have clear data types and validation rules and are rigorous content attribute data.

打个比方,如果将一个网站的内容库看作一座大型图书馆,那么“自定义内容标签”就像是图书馆里随处可见的主题索引卡片,比如“历史事件”、“人物传记”、“文学评论”,它可以横跨所有书架和分类,帮助你快速找到所有与某个主题相关的书籍。While 'Custom Field' is more like a 'Information Registration Card' for each book, it records detailed information such as the author, publication date, ISBN number, price, and number of pages of this book in a structured manner.

Both are not substitutes for each other, but complement each other.Custom content tags make the relationship between content more dynamic and open, facilitating users to explore information across different dimensions; custom fields make each piece of content's data more complete and accurate, providing a solid foundation for content filtering, display, and functional expansion.AnQiCMS provides these two powerful content organization tools, enabling small and medium-sized enterprises and content operation teams to build a flexible and rigorous content management system according to the complexity of their own business and the characteristics of their content.


Common Questions (FAQ)

1. When should I choose to use the custom content tags of AnQiCMS and when should I choose custom fields?When you want to associate different types or categories of content through a common theme, keyword, or interest point, you should preferably use 'Custom Content Tags'.For example, apply tags such as 'Website Security', 'Go Language Development', 'SEO Optimization', and others to multiple articles or products.When you need to add structured, unique properties with specific data types (such as price, size, author, release date, etc.) for specific content models (such as "products

2. Can AnQiCMS's custom content tags have hierarchical relationships like categories?No, the custom content tags of AnQiCMS itself do not have a hierarchical structure like categories.They are flat and designed to achieve horizontal association between content.If you need to build a hierarchical content organization, it is recommended to use the "Document Classification" feature of AnQiCMS, which supports a multi-level classification system.

3. What data types does AnQiCMS support for custom fields, can default values be set or is it required?AnQiCMS's custom fields support multiple data types, including single-line text, numbers, multi-line text, single selection, multiple selection, and drop-down selection.When creating custom fields, you can flexibly set each field as required according to business needs, and you can also set default values for the fields. Especially for selection-type fields, the default value will be used to define the options.