How to set the recommendation attribute (flag) for AnQiCMS documents?

Calendar 👁️ 55

As an experienced CMS website operation personnel, I fully understand the core position of content in website operation.High-quality content not only requires careful creation, but also effective presentation to attract and retain users.The 'recommended attribute' (flag) feature provided by AnQi CMS is one of the key tools for accurate content presentation and improving user experience.

Deep understanding of the recommended attribute (Flag) of AnQiCMS

The recommended attribute of AnQi CMS, also known as Flag, is a special mark attached to document content.These tags transcend the traditional classification system, providing a more flexible and detailed way to categorize content, thereby realizing diverse display and management on the website front end.They are equivalent to the 'baton' of content editing, guiding the system on how to highlight, where to display, and in what form to present specific content.Use these properties reasonably to effectively enhance the visibility of the content, optimize the user's browsing path, and it is an indispensable part of building a dynamic and attractive website.

How to set recommended properties for a document

It is a straightforward and simple process to set recommended properties for documents in the Anqi CMS backend.When you log in to the backend, go to the "Content Management" module, whether you are creating a new document or editing an existing document, you will find a setting area named "Recommended Properties".

This area lists all available recommended properties, each with a Chinese description and a short single-letter code.You can flexibly choose one, several, or none of the properties based on the actual needs of the document and operational strategy.These properties and their corresponding codes include:

  • Headline[h]It is usually used to mark the most important and most concerned news or articles on the website.
  • Recommended[c]It generally refers to high-quality content recommended by the system or editor.
  • Slide[f]:Applicable for content that needs to be displayed on the homepage slider or carousel.
  • Featured[a]:A higher level of special recommendation than “Recommended”, which may occupy a more prominent position.
  • Scrolling[s]: Content suitable for display in scrolling news, bulletin boards, and other dynamic areas.
  • Bold[h]: Used to highlight content in lists or titles, making it visually more prominent. (Please note that the[h]Sharing the same code with 'Headline', its meaning needs to be distinguished according to template logic or convention in actual application.
  • Image[p]: Indicates that the content contains important images or documents dominated by images.
  • Jump[j]: Indicates that the document may contain an external link or an internal jump link that requires special processing.

Select the checkbox in front of the corresponding property to apply it to the document. After making your selections, be sure to click the Save button to ensure that the property settings take effect.

Utilize recommended attributes to achieve flexible display of front-end content

Once the recommended properties of the document are set, we can precisely control the presentation of these contents on the website through frontend template tags. Anqi CMS mainly usesarchiveListandarchiveDetailTwo template tags to handle recommended properties.

Filter and display specific property content on the list page:

To display content with certain recommended attributes in a specific area of the website, for example, by setting up a column on the homepage to display all 'recommended' articles, we can usearchiveListLabel collaborationflagParameter. For example, to call all documents marked as "recommended"[c]"{% archiveList archives with type="list" flag="c" limit="10" %}.

It should be noted that in the samearchiveListTagged,flagThe parameter can only be used to filter a specific recommendation attribute. This means that you need to configure an independent one for each type of recommendation content that you need to display separately (such as "Headlines", "Sliders")archiveListLabel to create clear, focused content blocks.

Exclude specific property content from the list page:

Sometimes, we may want certain content with specific properties not to appear in the normal document list.For example, if the content of your 'slide' has already been displayed in the homepage carousel, you may not want it to appear again in the 'latest articles' list.This can be used at this timearchiveListlabel'sexcludeFlagparameters:{% archiveList archives with type="list" excludeFlag="f" limit="10" %}This can effectively avoid content repetition, maintain the page's neatness and the logic of content presentation.

Display recommended attributes in the document details page or list.

If you need to directly display the recommended attributes of the document on the detail page of the document, or display them in the document list (if the list tag is configured to display Flag), you can directly access the document object'sFlagField. For example, on the document detail page, you can use{{archive.Flag}}to display all the recommended properties of the document. InarchiveListloop, if you have setshowFlag=true, then{{item.Flag}}The recommended properties applied to the document will be displayed, usually presented in the form of a comma-separated string (for example, This is very useful for adding additional visual identification or metadata to content.

the use of recommended properties**Practice

  • Unified planning:Before using recommended properties, it is best to communicate with the team internally first, defining clear purposes and display locations for each property. For example, a unified rule[f]is only used for the homepage slider,[h]It is only used for the headlines of all channels.
  • Avoid abuse:Not all content needs a recommendation attribute. Overuse will dilute its value and make it difficult for users to distinguish between truly important content.
  • Combined with template design:The value of the recommended attribute ultimately manifests on the front-end display. Collaborate closely with the template designer to ensure that each attribute is presented visually appropriately, for example, 'bold'[h]The content title is displayed in bold, slide[f]The content is displayed in a large image carousel.
  • Regular review:With the change of the website content strategy, regularly check and update the recommended properties of the documents to ensure that they always meet the current operational objectives.

Through these detailed settings and strategic applications, the recommended attributes of Anqi CMS will become your powerful assistant for content operation, helping you organize and display website content more effectively, and improve the overall user experience.


Related articles

What are the requirements and suggestions for filling in the title of AnQiCMS documents?

As a website operator who has been deeply involved in AnQiCMS for many years, I fully understand the importance of every content detail in attracting website visitors and retaining users, and the document title is undoubtedly the first door to content presentation.It is not only a reason for users to click, but also a key factor for search engines to understand and evaluate the value of a page.In AnQiCMS, the title entry is not a simple text input, it involves multiple aspects such as content model, SEO strategy, and user experience.

2025-11-06

How to utilize

As a website operator who is deeply familiar with the operation of AnQiCMS, I know that content is the bridge connecting users to the brand.The AnQi CMS, a powerful content management system developed based on the Go programming language, provides us with a comprehensive toolkit from content creation to publication. Its high efficiency, customizable and scalable features are the key to maximizing the value of our content.The following will elaborate on how to fully utilize the various functions of AnQiCMS to meet the needs of readers, attract and retain users.

2025-11-06

How does AnqiCMS optimize a website's performance in search engines using advanced SEO tools?

AnqiCMS as an enterprise-level content management system, its design from the beginning has always regarded search engine optimization (SEO) as a core element.It not only provides a concise and efficient system architecture, but also incorporates a rich set of SEO tools, aimed at helping website operators to comprehensively enhance the performance of their websites in search engines, thereby attracting and retaining users, and realizing the maximum value of content.AnQiCMS is deeply aware of the importance of a website's visibility in search engines for business growth.Therefore, the system integrates SEO-friendly concepts from the bottom architecture to the front-end display.It is developed based on Go language

2025-11-06

What multilingual support does AnqiCMS provide, and how can it help enterprises expand into the international market?

As an experienced AnQi CMS user who has been deeply involved in content operation for many years, I fully understand the importance of a powerful and flexible content management system for enterprise market expansion.In today's global business environment, multilingual support is no longer a dispensable additional feature, but a core competitiveness for enterprises to go international and attract global users.AnQi CMS has laid a solid foundation in this aspect, helping enterprises easily move towards the international market through its exquisite multilingual mechanism.

2025-11-06

How to call the recommended attributes of AnQiCMS document in the front-end template?

As a senior security CMS website operation personnel, I know how to attract and retain users through precise content display.In Anqi CMS, "recommended attributes" is a very practical feature that allows us to fine-tune content marking, thereby enabling flexible calling and display on the website front-end.Below, I will elaborate on how to call these recommended properties in the front-end template.The Anqi CMS backend management system provides the core feature of "recommended attribute", which is located on the document (or other content model) editing page.

2025-11-06

How to add and manage keywords in the AnQiCMS document?

As an operation expert who deeply understands the operation of AnQiCMS (AnQiCMS) and is dedicated to enhancing the value of website content, I know the core status of keywords in the content ecosystem.They are not only the basis for search engines to understand and index our content, but also the bridge for users to find us through search and achieve accurate traffic conversion.AnQiCMS provides a series of powerful and flexible tools for adding and managing keywords, aimed at helping us efficiently complete this key task.

2025-11-06

Can keywords be selected from the AnQiCMS keyword library for the document?

As an experienced website operations manager, I can clearly tell you that AnQiCMS (AnQiCMS) indeed provides the function of selecting keywords from the keyword library during the document content creation process, which greatly facilitates content operations and SEO optimization work.In the AnQi CMS content management module, especially in the interface for adding or editing documents (such as articles, products, etc.), you will notice the 'Document Keywords' item.In addition to allowing operators to manually enter keywords, the system provides a直观的“select keyword”button here. Click this button

2025-11-06

What is the word limit for the AnQiCMS document introduction?

As a senior content expert who deeply understands the operation of AnQiCMS, I know that the value of the document is not only in the breadth of content, but also in its accurate and efficient guidance to readers.About the **word limit of AnQiCMS documents, this is not a simple fixed number, but needs to be considered comprehensively based on the target audience of the document, the nature of its content, and its specific role in the user journey.The Anqi CMS project itself emphasizes the characteristics of

2025-11-06