How to set the recommended attributes of the article to affect the front-end content sorting and display?

Calendar 👁️ 68

How can carefully crafted articles be seen by more readers and presented in the most prominent position on the website, which is the core concern of every operator.AnQiCMS provides a set of intuitive and powerful article recommendation attribute settings, helping us easily achieve fine-grained content management and front-end display optimization.This article will elaborate on how to use these properties to cleverly influence the sorting and display of your website's front-end content.

What is the article recommendation attribute?

When we add or edit articles on the AnQiCMS backend, we will notice the "Recommended Properties" item.It is not a simple classification or label, but a series of identifiers that confer a special "identity" on articles, intended to guide the system in treating and displaying these contents in a specific manner.These properties can help us mark articles as important content of different types, so that they can be displayed differently on the front page.

AnQiCMS provides a series of eight different recommendation attributes for us to choose from, each representing different display tendencies and operational purposes:

  • Headline[h]It is usually used to mark the most important and most concerned focus articles, suitable for prominent positions on the home page, such as large carousel or headline area.
  • Recommended[c]This is the most common recommendation type, suitable for modules such as "Recommended Reading", "Featured Articles", etc. on the website, used to present high-quality or promotional content.
  • Slide[f]: Designed specifically for the carousel, articles marked as 'slide' will usually be displayed in the form of image + title in the homepage or other designated slide areas.
  • Special recommendation[a]: Specifically recommended content, which may be used for a special topic, event page, or time-limited promotion of premium articles.
  • Scroll[s]: Suitable for news scroll bars, bulletin boards, and other applications that require short content displayed in scrolling text format, which is usually time-sensitive information.
  • Bold[h]In some designs, it may be used to visually emphasize article titles in lists, making them stand out among the content (note that the letters here arehDuplicate with the headline attribute, but in actual use, AnQiCMS usually handles it as priority or distinguishes it in different calling scenarios)
  • Image[p]This indicates an article suitable for display mainly with images, commonly used in image lists, galleries, or areas that need to emphasize visual elements.
  • Jump [j]This is a special attribute, usually indicating that this article itself is a link to an external page or another page within the site, which will jump directly when clicked.

These properties can be used individually, or combined according to the importance or display requirements of the article, for example, an article that is both a 'top story' and 'with images'.It should be noted that when the front-end template calls the content list, it can usually only be filtered and displayed based on one attribute.

How to set the article recommendation attribute?

Setting the recommended properties of the article is very simple and intuitive.Log in to the AnQiCMS backend, under 'Content Management', edit existing articles in 'Publish Document' or 'Document List', and find the 'Recommended Attributes' area.These properties are usually presented in the form of a series of checkboxes.

You only need to check or uncheck the corresponding properties based on the content characteristics and operational strategy of the article.For example, if you want a newly published article to be displayed in the homepage carousel, remember to check the 'Slide[f]' attribute when editing the article.After setting up, save the article, and the properties will take effect immediately.

How does the recommendation attribute affect the front-end content display and sorting?

The recommended attributes of the article are like special tags applied to the content, guiding the front-end template on how to present them to the user. The AnQiCMS front-end template is powerfularchiveListLabel to call the article list, one of the key parameters isflag.

When the template needs to display articles with specific recommended attributes, it will useflagParameters to filter. For example, if you want to display the latest headline news at the top of the homepage, your template developer may use something similar{% archiveList archives with type="list" flag="h" limit="5" %}such code to retrieve the content. Hereflag="h"Tell the system precisely, only retrieve the articles marked as 'headline'.

It needs to be emphasized again that while an article can have multiple recommendation attributes at the same time, each timearchiveListWhen calling the tag, it is usually only possible to specify oneflagFiltering properties. This means that if you want to display an article in the 'Top Stories' area and also in the 'Recommended Reading' area, you need to make sure that your template uses both areas when calling them separately.flag="h"andflag="c".

After filtering articles with specific recommended attributes, you can also combineorderparameters to further control their sorting, such asorder="views desc"(sorted by views in descending order, i.e., the most popular) ororder="id desc"(Sorted by ID in descending order, i.e., the most recent). This allows you to implement more refined needs such as 'displaying the most popular recommended articles' or 'showing the latest headlines'.

Content operation strategy: let the recommendation attribute maximize its value

Understood the settings and calling methods of the recommended properties, the next step is how to巧妙ly use them in content operation to maximize the value of the content.

  1. Emphasize the core contentUse "Headline[h]" and "Slideshow[f]" to push the most important, most time-sensitive, or most promoted content on the website to the C position on the homepage, attracting users to click.
  2. Build a special zoneWhen creating content for a specific topic or event, use the "Special Recommendation [a]" attribute consistently. Then, on the website's special page or sidebar, throughflag="a"Fetch this content, form content aggregation, enhance the user's in-depth reading experience on a specific topic.
  3. Optimize the user discovery pathAt the bottom of the article detail page, you can fetchflag="c"The "Recommended Reading" list, or intelligently match according to the content of the articleflag="p"The "related album", guiding users to continue browsing and reducing the bounce rate
  4. Enhance timeliness of information exposureFor the latest announcements and industry news, mark as 'Scroll[s]'.

Related articles

What methods does AnQiCMS support to display images and thumbnails?

When building and operating a website, displaying images and thumbnails is an indispensable element in attracting users and conveying information.An excellent content management system (CMS) should provide powerful and flexible image processing capabilities.AnQiCMS performs well in this aspect, it not only simplifies the image management process, but also provides a variety of intelligent display methods, helping us easily create websites with outstanding visual effects and fast loading speed.### Core Image Management Capability: Say goodbye to chaos Firstly, AnQiCMS provides a centralized "Image Resource Management" function

2025-11-09

How can I apply a unique document display template under a specific category?

When managing the content of our website, we often encounter such situations: We want articles under a specific category to be presented in a unique layout or style, distinct from the standard display of other parts of the website.For example, product showcase articles may need to include detailed parameter tables and multi-image carousels, while blog articles focus on smooth reading experience and comment sections.AnQi CMS fully understands the importance of this personalized need and provides a very flexible and intuitive way to achieve this, that is to apply a unique document display template for specific categories.

2025-11-09

How to extend content display options through custom fields in AnQiCMS?

Today, with the increasing refinement of content operation, the way websites present content is no longer just a simple title and text.Whether it is to display product detailed parameters, registration information for activities, or record the professional background of team members, we need a more flexible and structured content management method.AnQiCMS (AnQi Content Management System) is strong in this aspect, providing powerful support through its 'custom field' feature, helping us easily expand content display options and create highly personalized website experiences.Why do we need more flexible options for content display?Imagine

2025-11-09

How to implement personalized content display on the article detail page?

In website operation, the article detail page is not only a carrier of content, but also a key link for improving user experience, conveying brand value, and even achieving conversion goals.AnQiCMS (AnQiCMS) has provided us with rich features, making the personalized display of article detail pages accessible.It not only helps us meet the diverse needs of content presentation, but also allows each article to appear in front of readers with a refined posture.To create a unique article detail page, we can start with several core functions of Anqi CMS.--- ### One

2025-11-09

Can I design a dedicated display style for a single page (such as 'About Us')?

In website operation, we all hope that each page can perfectly present its unique content and brand image.For single pages such as 'About Us' and 'Contact Information' that carry corporate culture, core values, or important service information, having a dedicated display style undoubtedly enhances the page's attractiveness and user experience.So, can we design exclusive display styles for these single-page designs in AnQiCMS (AnQiCMS)?The answer is affirmative, and it is more flexible and convenient than you imagined.The Aanqi CMS understands the personalized needs of content display

2025-11-09

How to embed mathematical formulas and flowcharts in content and ensure correct rendering?

In the creation of modern website content, it is a basic requirement to have illustrations and text, and for technical, educational, or scientific research websites, pictures and text alone are often not enough to clearly express complex concepts.How can one flexibly embed mathematical formulas and flowcharts in the content and ensure they are rendered correctly and beautifully on the page, which has become a key focus for content operators.AnQiCMS (AnQiCMS) provides an effective way to achieve this goal with its powerful functions.

2025-11-09

Does AnQiCMS support showing or hiding specific content based on user group permissions?

In website operation, displaying or hiding specific content based on different user groups is a key link in achieving personalized services and content monetization.Many operators are looking for a content management system that can flexibly support this kind of permission control.Whether does AnQiCMS (AnQiCMS) support displaying or hiding specific content based on user group permissions?The answer is affirmative. AnQiCMS was designed from the beginning with flexibility and diversity in content operations in mind.The built-in "user group management and VIP system" as well as the "flexible permission control mechanism"

2025-11-09

How to ensure accurate switching and display of multilingual content on different user interfaces?

Today, with the increasing closeness of globalization, it is crucial for website content to be accurately presented in multiple languages to users in different regions, which has become a key factor for many enterprises to expand their markets and improve user experience.AnQiCMS (AnQiCMS) took full consideration of the need for multilingual promotion from the very beginning, making it a core feature to help us efficiently manage and display multilingual content.How can we ensure that these multilingual contents are accurately switched and displayed on different user interfaces?This requires us to carefully plan and operate at multiple levels from content preparation, system configuration to front-end display.

2025-11-09