How to use the recommended attributes (H, C, F, A, S, P, J) of AnQi CMS document and what impact does it have on front-end display?

Calendar 👁️ 60

As an experienced security CMS website operation personnel, I fully understand the core position of content in website operation.The document recommendation feature provided by Anqi CMS is a powerful tool that helps us efficiently manage and optimize content, accurately reach users, and thus enhance the website's performance.These attributes are not only tags for content classification, but also the key to guiding the front-end content display and optimizing the user experience.

The essence and importance of content recommendation attributes

In Anqi CMS, content recommendation attributes (H, C, F, A, S, P, J) are special identifiers assigned to documents, allowing operators to classify and prioritize content more finely.These properties are designed to help us place different content in specific areas of the website's front page, or present it in a specific visual style to meet the needs of website design and operation strategy.For example, an important news article may need to be displayed as a 'headline', while a product case study may be marked as a 'slide' in the homepage carousel.The role of these properties is not to directly define the style of the content, but to provide a logical filtering condition so that the front-end template can select and organize the content according to these identifiers.

Application of recommendation attributes in backend management

In the Anqi CMS backend content management interface, when we create or edit a document, we will see the option 'Recommended Properties'. Here is a list of all available property tags:

  • Headline [h]
  • Recommend [c]
  • Slide [f]
  • Special recommendation [a]
  • Scroll [s]
  • Image [p]
  • Jump [j]

The operator can select one or more properties for the document based on its characteristics and promotional needs.For example, a recent important news, we can check both 'Headline [h]' and 'Recommend [c]' at the same time;An advertisement that requires the user to click to jump to an external page may only choose 'Jump [j]'.It is noteworthy that while the document can set multiple recommended attributes, when the front-end template is called, a content list area usually filters based on a single attribute, such as 'Display Headline Article List' or 'Display Recommended Article List'.

The profound impact of front-end display

The influence of recommended properties on front-end display is reflected in their content organization and user visual guidance. They are the basis for content selection and layout of front-end templates.

Headline [h]: Content marked as 'Headline', usually representing the most important and most concerned information on the website.On the front end, this kind of content often occupies the most prominent position on the homepage, such as the top large image of the page, the prominent title area, or highlighted with large font size and special colors, aiming to capture the visitor's attention at the first time.It guides users to focus on the current website's featured events or core products.

Recommend [c]This is the most common recommended attribute, used to mark important content.On the front end, this content may appear in the "Hot Recommendations" sidebar, the "Editor's Recommendations" block on the article list page, or the "Related Recommendations" at the bottom of the content detail page, and so on.They are usually presented in the form of small cards, text links, or thumbnail + title, aimed at increasing content exposure and guiding users to explore more relevant or high-quality content.

Slide [f]This property is designed specifically for Carousel (Carousel or Slider).Content marked as "slideshow", which is usually accompanied by high-quality images as covers and displayed in a dynamic carousel at the top of the homepage or specific category pages.It attracts users with visual impact and provides an efficient space to display multiple important promotional messages or content.

Special recommendation [a]Similar to 'recommended [c]', but 'special recommendation' usually means higher priority or more unique recommendation value.The front-end may allocate a more prominent display area for 'Featured' content compared to 'Recommended' content, such as listing it separately in a specific section or using more attractive layouts and styles to emphasize its uniqueness.

Scroll [s]This attribute is commonly used for news ticker, instant message scroll bar, or bulletin board.Content marked as 'scrolling' is usually presented in a horizontal or vertical scrolling manner on the front page. It is concise and to the point, aiming to quickly convey updates, emergencies, or ongoing information without occupying a large amount of page space.

Image [p]When the content is mainly visual elements, the 'Image' attribute will be used.This content is suitable for highlighting its image in a photo gallery, illustrated list, or product display block.When the front-end template calls this type of content, it will focus more on displaying its thumbnail or group of images instead of plain text descriptions, to enhance visual appeal.

Jump [j]: As the name implies, the 'jump' attribute is used to mark the content that should jump directly to another page or external link when clicked.This content usually does not require too much text or image detail, but is an entry point to guide users to take action (such as "click to buy", "learn more")The front-end can display it as a simple button, link, or an entry with a brief description.

Implementation of the template technology

In the Anqi CMS template file, front-end developers will usearchiveListtags, combined withflagParameters are used to call documents with specific recommended properties. For example, to display all articles marked as "slideshow" in a region, the template code might be something like:

{% archiveList archives with type="list" flag="f" limit="5" %}
    {% for item in archives %}
        <div class="carousel-item">
            <img src="{{item.Logo}}" alt="{{item.Title}}">
            <h3><a href="{{item.Link}}">{{item.Title}}</a></h3>
        </div>
    {% endfor %}
{% endarchiveList %}

This code tells Anqi CMS to query all documents with the attribute "Slide [f]" from the database and display their titles, links, and logo images in a carousel structure.The specific style and animation effects are determined by the front-end CSS and JavaScript code.

By flexibly using these recommended attributes, website operators can better organize content, enhance the browsing experience of users on the website, and effectively guide traffic and user behavior according to operational objectives.


Frequently Asked Questions (FAQ)

1. Have I set the 'Headline[h]' and 'Recommend[c]' attributes for an article at the same time, will they both be displayed in the headline area and the recommendation area?

Yes, if your front-end template has separately set the callflag="h"andflag="c"In the list area, this content will appear in both areas. Recommended properties are tags of content across different dimensions that are not mutually exclusive.

Why did I set the recommendation attribute, but there was no change on the front page?

Recommended properties require the cooperation of the front-end template to take effect. If there is no change on the front desk, there may be the following reasons: first, your template has not written the corresponding code to call the content of these properties; second, the calling method in the template is incorrect (for exampleflagThe parameter is not set or set incorrectly); the third is that there may be a cache, try refreshing the page after clearing the cache.

3. What is the difference between the 'image[p]' attribute and inserting an image in the article?

“Picture[p]” is a recommended attribute that tells the front-end template that this content is suitable for display with pictures at the core, such as in a picture list or gallery. It is a type of contentDisplay type preferenceHowever, inserting images into the article is just a part of content editing, even if the 'image[p]' attribute is not set, the article content itself can still contain images.Whether to set the "[p] image" mainly depends on how you want the content to be displayedFilter and display.

Related articles

What are the specific steps to introduce MathJax and Mermaid plugins in Anqi CMS template?

As a senior Anqi CMS website operation personnel, I am well aware that providing rich and professional display forms is crucial for attracting and retaining users in an increasingly complex network content environment.For websites that contain technical content, scientific formulas, or flowcharts, the MathJax and Mermaid plugins can greatly enhance the readability and professionalism of the content.

2025-11-06

How to enable Markdown editor and display mathematical formulas and flowcharts correctly in AnQi CMS?

As an experienced website operator, I know that the diversity of content forms is crucial for attracting and retaining users.AnQiCMS is an efficient content management system that not only provides powerful content publishing and management functions, but also keeps up with the trend of technology, supports Markdown editor, and greatly improves the efficiency and expressiveness of content creation.

2025-11-06

How to add JS automatic submission code for search engines like 360 and Toutiao in Anqi CMS?

AnQi CMS, as an efficient and SEO-optimized content management system, fully understands the importance of website content being indexed by search engines in a timely manner.Although for major search engines like Baidu and Bing, we can implement active push through API interfaces to accelerate inclusion, but in the face of platforms mainly relying on JavaScript code for automatic submission, such as 360 Search and Toutiao, Anqi CMS also provides a simple solution.

2025-11-06

How to verify after setting up link push, whether Anq CMS has successfully pushed the new content to the search engine?

As an experienced CMS website operation person, I fully understand your desire for your content to be quickly indexed by search engines.AnQiCMS (AnQiCMS) provides strong support in content publishing and optimization, among which the link push feature is a key factor to ensure that new content can be discovered by search engines in a timely manner.After configuring the push interface, verifying its effect is an important step to ensure the maximum value of your content.The following will elaborate on how to verify whether Anqi CMS has successfully pushed new content to search engines.

2025-11-06

How to create the main navigation of the website in AnQi CMS?

The website's main navigation is the key for users to browse and understand the website structure.It guides users to access important content, optimizes user experience, and plays an important role in search engine optimization (SEO).AnQi CMS provides flexible and powerful navigation management functions, allowing users to easily create, edit, and publish the main navigation that meets their business needs. ### Overview of AnQi CMS Navigation Management The AnQi CMS backend navigation settings module centrally manages the navigation links of the website.

2025-11-06

How to add footer navigation menu in AnQi CMS?

As an experienced security CMS website operator, I know that a perfect website is not only about exciting content, but also about every detail of user experience.The footer navigation menu, although seemingly insignificant, plays a crucial role in enhancing website usability, optimizing SEO structure, and guiding users to explore the content in depth.It usually contains important links of the website, such as About Us, Contact Information, Privacy Policy, etc., allowing users to quickly find the information they need on any page.

2025-11-06

Does AnQi CMS support custom navigation categories, such as sidebar navigation?

As a senior security CMS website operations personnel, I am well aware of the key role of website navigation in enhancing user experience and content presentation.An efficient and flexible navigation system not only helps users find the information they need quickly, but is also an important part of optimizing the website's information architecture.In AnQi CMS, regarding the support for custom navigation categories, especially for sidebar navigation needs, I can clearly tell you that the system provides powerful and flexible features to meet these customization requirements.

2025-11-06

How to set the AnQi CMS navigation link to display as a first-level or second-level menu?

As a senior CMS website operation personnel of an information security company, I know that a clear and efficient navigation system is of great importance to a website, as it not only directly affects user experience, but is also an indispensable part of search engine optimization (SEO).In Anqi CMS, setting the navigation link as a first or second-level menu is a relatively simple but powerful operation that can help you flexibly construct the website structure. I will elaborate in detail on how to set up and manage navigation links in Anqi CMS to display first-level and second-level menus.

2025-11-06