In AnQiCMS, the "recommended attribute" is a very practical feature that allows us to refine the marking and classification of published content, thereby realizing a customized display in different areas of the website.The core of this feature lies in assigning specific "flags" or "tags" to articles, so that they can be selectively called in templates, thereby enhancing the exposure of content and the overall operational efficiency of the website.

What is the 'Recommended Attribute'?

In simple terms, 'recommended properties' are some special tags that we can add to an article when publishing or editing it.AnQi CMS provides eight preset recommended attributes, each attribute corresponds to a short letter identifier, which is convenient for calling in the front-end template.These properties include:

  • Headline [h]It is usually used to mark the most important and most concerned articles on the website, suitable for displaying in the most prominent position on the homepage.
  • Recommend [c]: Indicates that the article content is excellent and worth recommending to users, and can appear in areas such as the sidebar, related article lists, etc.
  • Slide [f]This type of article is often used in carousel or focus area to attract users with images and large headlines.
  • Special recommendation [a]: This article is recommended specially, it may have timeliness or special value, and is more prominent than ordinary recommendations.
  • Scroll [s]: Suitable for news bulletins, announcements, and other content areas that need to be scrolled on the page.
  • Bold [b]: Although named bold, in actual application, it is more like a general marker indicating that the content needs to be emphasized.
  • Image [p]: Specifically marks articles that are dominated by images and are suitable for display in areas such as photo walls and albums.
  • Jump [j]This kind of article is usually not for direct reading, but rather, clicking will jump to external links or other specific pages within the site.

On the article publishing interface, you can select one, multiple, or even no recommended attributes based on the characteristics of the article.This option is flexible, but remember that the letter identifiers corresponding to each recommended attribute are the key to the front-end call.

Why are 'recommended attributes' so useful?

The maximum value of this feature lies in the great flexibility it provides in content display, helping us better organize website content, improve user experience and content management efficiency:

  • Highlight key contentThrough properties like 'Headline' and 'Slider', you can easily place the most important or visually appealing content in the most prominent position on the website, quickly capturing the attention of visitors.
  • Enrich page layoutEach area of the website (such as the homepage, category page, sidebar, and article footer) has unique display requirements.The recommended attribute allows us to accurately allocate content to each area, such as displaying "recommended" articles in the sidebar and "related" articles at the bottom, thereby creating a more distinctive and attractive page layout.
  • Improve content discoverabilityWhen users browse specific types of content, they can be guided to discover more relevant or high-quality content through recommendation attributes, thereby increasing their time spent on the website.
  • Optimize operational strategy: Combine different recommendation attributes to target content marketing and SEO optimization, such as marking articles with high conversion rates as "Special Recommendation" for key display in specific promotional activities.

How to set the 'recommended attribute' of an article in the background?

It operates very intuitively. When you are in the AnQiCMS backend, under the "Content Management" section, adding or editing documents, on the right or below the article editing interface, there will be a setting area named "Recommended Properties".

This area is usually presented in the form of a set of checkboxes, each with a specific attribute name and its corresponding letter identifier, such as "Top News [h]", "Recommended [c]", and so on.You only need to check the corresponding properties according to the positioning and expected display effect of the article.After checking, remember to save the article, these properties will be successfully added to the article.

How to call an article with the 'recommended attribute' in the front-end template?

Display the set recommendation attributes on the website front-end, mainly depending on the template tag function of AnQiCMS, especiallyarchiveListThis powerful tag.

When you want to display articles with specific recommendation properties in a certain area of the website (such as a module on the homepage, the sidebar, or a category page), you can usearchiveListLabel, and by itsflagparameters to specify