How to use recommendation properties to control the display position of front-end content when publishing?

Calendar 👁️ 58

AnQiCMS (AnQiCMS) is a powerful content management system that provides great flexibility for content operators.In daily content publishing work, we often need to display specific content (such as news headlines, hot recommendations, ad banner rotations, etc.) in prominent positions on the homepage or category pages of the website.If relying solely on content publishing time or views to control, it is often difficult to meet the refined operational needs.This is when the "Recommended Attribute" feature of AnQi CMS becomes particularly important, as it helps us accurately control the display position of front-end content, effectively enhancing the visibility and operational effectiveness of the website.

What is the recommended attribute, and what benefits does it bring to content display?

The recommended attribute is an additional tagging mechanism provided by Anqí CMS for content (such as articles, products, etc.)You can imagine it as attaching different 'tags' to the content, which can indicate that the content should be displayed in different areas on the website's front end.By these properties, we can flexibly adjust the display priority and position of the content without changing the content release time or category.

The Anqi CMS is built-in with 8 recommended attributes, each attribute has a corresponding letter identifier, convenient for calling in templates:

  • Headline [h]: Usually used for the focus news of the website, the most important announcements, etc., often displayed in the most prominent position at the top of the page.
  • Recommend [c]: Articles suitable for editing and attention, which can be displayed in the sidebar, content area, and other locations.
  • Slide [f]: Designed specifically for carousels, focus images, usually with images, displayed in a scrolling form at the top of the homepage or specific pages.
  • Special recommendation [a]Similar to 'Special Recommendation', it emphasizes its importance and can be used for important themes or activities.
  • Scroll [s]: Suitable for small rolling news, bulletin boards, etc., the content will appear in the form of a running scroll or list scroll.
  • Bold [h]: (Please note that this attribute shares the same identifier as
  • Image [p]Indicates that the content is suitable for display in a multimedia or purely visual format, such as a picture news stream.
  • Jump [j]meaning that clicking on the content may directly jump to an external link or a specific page within the site, rather than just the article detail page.

The flexible application of these recommended properties can help us:

  • Enhance the visibility of important content: Quickly convey key information to visitors.
  • optimize user experience: Help users quickly find the content they are interested in by categorizing display.
  • Enhance content operation efficiency: Adjust content layout without modifying code to achieve dynamic updates.
  • Support SEO strategy: A reasonable layout can enhance the page authority and is helpful for search engines to crawl and index.

How to set the recommendation attributes of the content in Anqi CMS background?

The recommended attributes of the content are very intuitive. When we publish new content or edit existing content in the background, we can find the "Recommended Attributes" item on the content editing page.

  1. Enter the content editing interfaceIn AnQi CMS backend, navigate to "Content Management" -> "Document Management", then select "Add New Document" or edit an existing document.
  2. Find recommended attribute areaOn the right or below the document editing page (the specific location may vary slightly depending on the backend interface version), there will be a section named "Recommended Properties".
  3. Select the recommended propertyHere will be listed all available recommended attributes, such as "Headline[h]", "Recommend[c]", "Slide[f]", etc.
    • You can choose one or more properties based on the actual importance and expected display of the content.For example, an article that is both important news and beautifully illustrated, you can check both
    • Please note that while multiple recommendation properties can be set for a piece of content in the background, when the front-end template is called, only onearchiveListtag can usually be based on oneflagParameters to filter content (for example 参数来过滤内容(例如,只调用“头条”内容,或者只调用“推荐”内容)。这意味着如果你想让同一篇文章既显示在“头条区域”又显示在“推荐列表”,你需要确保这两个区域在前端是通过不同的flagParameters are handled individuallyarchiveListTag calling.
    • Especially note that 'Top News[h]' and 'Bold[h]' share the same identifierhThis means that if the content is marked as both 'Headline' and 'Bold', when the template passesflag="h"When called, it will match both types of content. In actual operation, it may be necessary to decide whether to use both meanings according to specific requirements and the implementation of the template.hProperty, or the template only handles one meaning specifically.

By simply checking, you can give your content unique display capabilities. Save the content after setting it up.

How to call and display the recommended attribute content in the front-end template?

After setting up the recommended properties, you need to write code in the website's front-end template to call and display this content. Anqi CMS providesarchiveListtags, with the help offlagThe parameter can easily achieve this goal.

`archiveList

Related articles

How to optimize the URL structure of AnQiCMS to improve search engine display effect?

How to optimize the URL structure of AnQiCMS to improve search engine display effects?In website operation, the structure of URL (Uniform Resource Locator) appears simple, but it actually has a profound impact on the effect of Search Engine Optimization (SEO).A clear, meaningful, and search engine friendly URL that not only helps users better understand the page content but also allows search engines to crawl and index our website faster and more accurately.AnQiCMS as an enterprise-level content management system provides many powerful and flexible functions in this aspect

2025-11-08

How to implement multilingual switching and display of website content?

It is crucial to provide multilingual support when building a website for global users.AnQiCMS (AnQiCMS) fully understands this need, built-in powerful multi-language switching and display functions, help website operators easily achieve content internationalization.This article will discuss in detail how to configure and implement the multilingual function of the Anqi CMS website, so that your website can better serve users of different languages.### Overview of AnQiCMS Multilingual Support One of the design初衷 of AnQiCMS is to support the switching and display of multilingual content

2025-11-08

How does AnQi CMS support displaying personalized content model data?

Unlock the personalized display potential of content model data in today's content marketing and website operations, how to efficiently and flexibly display content is the key to success.We all know that the content format of each website is not the same, some need to display articles, some need to display products, and some may need to publish event information, recruitment lists, and so on.If the system cannot support these diverse content structures, it will be very limited in operation.Aqí CMS was born to solve this pain point.It provides a **flexible content model** feature, allowing us to meet actual business needs

2025-11-08

Under multi-site management, how can you ensure that each site displays its content independently?

How to ensure that the content of each site can be displayed independently when managing multiple websites is a common challenge faced by many content operators.Fortunately, AnQiCMS (AnQiCMS) took this into consideration from the very beginning, through a clever mechanism, allowing content to be managed uniformly across multiple site environments while also remaining independent and not interfering with each other. ### The core mechanism of AnQi CMS for independent content display The reason why AnQi CMS can easily handle the independent display of content across multiple sites lies in the physical and logical dual isolation provided for each site.View from a physical perspective

2025-11-08

How to set watermarks or anti-capture interference codes to protect the display of images in document content?

Today, with the increasing richness of digital content, the phenomenon of original images being stolen and unauthorizedly reproduced is prevalent.For operators who have invested a lot of effort in creating high-quality content, this is undoubtedly a huge loss.Luckyly, AnQiCMS (AnQiCMS) has provided us with powerful content protection tools, including built-in image watermarking and anti-crawling interference code features, which can effectively help us defend our original rights.Today, let's delve into how to set up and utilize these features in Anqi CMS to build a solid defense for our image content.### Image Watermark Function

2025-11-08

How to implement the display and control of paid content or VIP user exclusive content?

Today, with the increasing refinement of content operation, how to effectively manage and monetize high-quality content on websites is a major concern for many website operators.AnQiCMS (AnQiCMS) provides a comprehensive solution to help us easily implement the display and control of paid content or exclusive content for VIP users.This system is not only powerful in function, but also flexible in operation, making content monetization easily accessible.## Core Mechanism

2025-11-08

How can AnQi CMS's traffic statistics feature help me optimize my content display strategy?

## How to cleverly use Anqi CMS traffic statistics to take content strategy to a new level As a content operator, we invest a lot of effort in creating and publishing content, but how do they perform after the content is published?Did we truly reach the target users? What content is popular, and what is ignored?These issues often困扰 us. If we only stay at the "publishing" stage and ignore the subsequent effect evaluation and strategy adjustment, then our efforts may be greatly reduced.Luckyly, AnQi CMS provides us with powerful traffic statistics functions

2025-11-08

How to use the scheduled publishing feature to achieve automated online display of content?

In today's fast-paced digital world, the efficiency and regularity of content operation are becoming increasingly important.Whether it is to maintain a corporate website, manage a self-media, or manage multiple content sites, it cannot do without high-quality and timely updated content.However, manually posting content often means precise timing is required, especially when the content release time is in the late night or on holidays, which undoubtedly brings considerable pressure to the operation staff.Fortunately, AnQiCMS provides a very practical feature——**timed release**, which can help us easily achieve the automation of content going online

2025-11-08