Fully supported, and designed to be very flexible.
AnQiCMScontactThe label is a core component of its powerful template engine, dedicated to calling various contact information from the background.It is not limited to traditional phone, email and address, but also deeply considers the communication needs of modern websites through multiple channels.
Contact Information Tag Overview
In the AnQiCMS backend, you can easily manage all the contact information published externally under the "Contact Information Settings" in the "Backend Settings".contactTags are called in the front-end template. For example, if you need to display the website's contact phone number, simply write in the template.{% contact with name="Cellphone" %},The system will automatically read and display the phone number you filled in the background. This calling method is concise and intuitive, greatly reducing the difficulty for front-end developers to obtain dynamic data.
Built-in social media support, meeting mainstream requirements
To adapt to the trend of globalization and multi-platform promotion, AnQiCMS incontactThe label has pre-set many mainstream social media fields.This includes WhatsApp, Facebook, Twitter, Tiktok, Pinterest, Linkedin, Instagram and Youtube, etc.nameProperties (such as{% contact with name="Facebook" %}/{% contact with name="Instagram" %})Easily call and display. This built-in support enables websites to quickly integrate common social media channels without additional development.
Flexible custom extension capabilities, seamless integration with multiple accounts
{% contact with name="SecondFacebook" %}to call in this way, thereby achieving the simultaneous display of multiple custom social media accounts of the same type or different types.This design logic ensures that AnQiCMS can provide robust and flexible support regardless of how complex and diverse your business communication channels are.
How to integrate and display in the template
No matter whether you are calling the built-in social media fields of the system or the parameters you extend through custom settings, their integrated display methods in the template are unified and consistent.You can flexibly place these tags at the top, bottom, sidebar, or a dedicated contact us page according to the layout needs of the website.contactThe information of label calls will always be based on the latest value you set in the background, ensuring the timeliness of content updates. For example:
{# 显示内置的Facebook账号 #}
<div>关注我们的Facebook:<a href="{% contact with name="Facebook" %}" target="_blank">Facebook主页</a></div>
{# 显示通过自定义参数添加的第二个WhatsApp账号 #}
<div>紧急联系WhatsApp:<a href="https://wa.me/{% contact with name="CustomWhatsApp" %}" target="_blank">即时聊天</a></div>
{# 显示另一个内置的Twitter账号 #}
<div>关注我们的Twitter:<a href="{% contact with name="Twitter" %}" target="_blank">Twitter动态</a></div>
Through this method, you can not only easily display traditional social media such as Facebook, Twitter, but also simultaneously display your customized second WhatsApp account or any other personalized contact method. All information is presented clearly and orderly on your website.
Summary
In summary, AnQiCMS'scontact
Common Questions (FAQ)
问:I have added a custom social media account, but why is it not displayed on the frontend?答:AnQiCMS的自定义参数在后台设置完毕后,还需要您手动修改前端模板文件,使用English
{% contact with name="您的自定义参数名" %}The syntax to call it. If you do not explicitly call it in the template, the front-end will not automatically display it even if it is configured in the background.问:Can I add multiple different account links to the same social media platform (e.g., Facebook)?
问:Can custom social media accounts automatically match corresponding social media icons?Answer: AnQiCMS's
contact