What is 'Recommended Attributes'?
In simple terms, 'recommended attribute' refers to some special tags that we can add to articles when we publish or edit them.The AnQi CMS provides eight preset recommended attributes, each corresponding to a short letter identifier for easy calling in front-end templates.
- Headline [h][en] Typically used to mark the most important and most concerned articles on a 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. It can appear in areas such as the sidebar, related articles list, etc.
- Slideshow [f]This type of article is commonly used in carousel or featured image areas to attract users with images and large headlines.
- [en] Recommended [a][en] This article is specially recommended, which may have timeliness or special value, and is more prominent than ordinary recommendations.
- [en] Scroll [s][en] This area is suitable for news flashes, announcements, and other content that needs to be displayed scrolling on the page.
- 加粗 [b] 【en】Although named bold, in actual application, it is more like a general marker indicating that the content needs to be emphasized.
- [en] Image [p][en] Specifically marks articles that are dominated by images and are suitable for display in areas such as image walls and albums.
- [en] Jump [j]This type of article is usually not for direct reading, but will jump to an external link or a specific page within the site upon clicking.
In the article publishing interface, you can select one, multiple, or none of the recommended properties based on the characteristics of the article.This choice is flexible, but please remember that the letter identifiers corresponding to each recommended attribute are the key to the frontend call.
Why are 'recommended properties' so useful?
The maximum value of this feature lies in its great content display flexibility, which helps us better organize website content and improve user experience and content management efficiency:
- Highlight key contentThrough properties such as '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 layout
- Enhance content discoverabilityWhen users are browsing specific types of content, they can be guided to discover more relevant or high-quality content through recommendation attributes, thereby increasing their stay time on the website.
- Optimize operational strategyCombine different recommendation attributes, and you can target content marketing and SEO optimization, for example, marking articles with high conversion rates as 'Special Recommendation' to highlight them in specific promotional activities.
How to set the 'recommended attribute' of an article in the background?
This area is usually presented in the form of a set of checkboxes, with each checkbox labeled with the specific attribute name and its corresponding letter identifier, such as 'Top News [h]', 'Recommend [c]', and so on.You just need to check the corresponding properties according to the positioning and expected display effect of the article.After checking, remember to save the article, and these properties will be successfully added to the article.
How to call articles with the 'recommended attribute' in the frontend template?
Display the recommended attributes set up on the website front-end, mainly relying on the template tag feature of AnQiCMS, especiallyarchiveListthis powerful tag.
When you want to display articles with specific recommendation attributes in a certain area of the website (such as a module on the homepage, a sidebar, or a category page), you can usearchiveListTags, and through itsflagparameters to specify