How to set and display the global contact information (phone, address, email, social media, etc.) of AnQiCMS?

Calendar 👁️ 95

In website operation, a clear and convenient contact method is the key to building trust and promoting communication.Whether it is a phone number, address, email, or increasingly important social media channels, this information needs to be prominently and consistently displayed on your website.AnQiCMS knows this and therefore provides a straightforward and centralized way to manage the global contact information of the website, allowing your visitors to easily find you wherever and whenever.

Set your global contact information on the AnQiCMS backend

AnQiCMS will centralize the setting of contact information in one place, making it convenient for you to manage and update it uniformly. When you need to set or modify the global contact information of the website, just follow the following steps:

  1. Enter the back-end management interface: Log in to your AnQiCMS back end.
  2. Navigate to "Contact Information Settings"In the left navigation bar, find and click on "Background Settings". Then, select "Contact Information Settings" from the pop-up submenu.

Here, you will see a simple and clear form interface, which includes various commonly used contact information fields on the website:

  • Contact: Usually the main contact person for your company, such as "Mr. Wang" or the Customer Service Department.
  • Contact Phone (Cellphone)This is your main business contact phone number.
  • Contact Address (Address)This is the detailed company address, convenient for customers to visit or send mail.
  • Contact Email (Email)A professional and easy-to-remember email address for business communication.
  • Social media accountsAnQiCMS has preset various mainstream social media fields, such asWeChat (Wechat)/QQ/WhatsApp/Facebook/Twitter/TikTok/Pinterest/LinkedIn/Instagram/YouTubeEtc. You can directly enter the corresponding account, link, or QR code (such as WeChat QR code).
  • WeChat QR Code (Qrcode): Upload your WeChat official account or enterprise WeChat QR code image directly, convenient for visitors to scan and add.

Customize the flexibility of setting parameters

If the default fields provided do not fully meet your business needs, AnQiCMS also provides a flexible 'Custom Setting Parameters' feature.For example, you may need to set different customer service phone numbers for different regions, or add a special online consultation link.

  1. Add new settings itemsClick the add button below the 'Custom parameter settings'.
  2. Define parameter information:
    • Parameter NameThis is the name provided for the template, it is recommended to use letters, and the system will automatically convert it to camel case (for example:RegionServicePhone)
    • Parameter valueThis is the specific content you want to display on the front end, for example, '010-XXXX-XXXX'.
    • Note: Add a description for this custom parameter to help yourself or other administrators understand its purpose.

In this way, you can infinitely expand the types of contact methods according to the actual operational needs of the website.

Display contact information on the website's front-end page

It is not enough to set up this information only in the background. In order for visitors to see these contact methods on the website front-end, we need to call these data in the website template.AnQiCMS makes this process very easy with concise template tags.contactLabel to get the contact information you have configured in the background.

In your template file (such as, footerfooter.html, top navigationheader.htmlor 'Contact Us' page), you can call it like this:

{# 调用网站联系电话 #}
<p>联系电话:{% contact with name="Cellphone" %}</p>

{# 调用公司地址 #}
<p>公司地址:{% contact with name="Address" %}</p>

{# 调用客服邮箱 #}
<p>客服邮箱:<a href="mailto:{% contact with name="Email" %}">{% contact with name="Email" %}</a></p>

{# 调用微信账号 #}
<p>微信:{% contact with name="Wechat" %}</p>

{# 调用微信二维码图片 #}
{# 注意:对于图片URL,通常需要配合 |safe 过滤器以确保正确渲染 #}
<div>
    <img src="{% contact with name="Qrcode" %}" alt="微信二维码" />
</div>

{# 调用WhatsApp链接 #}
<p>WhatsApp:<a href="https://wa.me/{% contact with name="WhatsApp" %}" target="_blank" rel="nofollow">{% contact with name="WhatsApp" %}</a></p>

{# 调用您在后台自定义的“RegionServicePhone” #}
<p>区域客服电话:{% contact with name="RegionServicePhone" %}</p>

In these examples,{% contact with name="字段名称" %}the value of the corresponding field in the "Contact Information Settings" on the backend will be output directly.nameThe value should be consistent with the English name of the field in the background setting interface (or the parameter name you customize).

Integration and operation thinking

Unified management and display of the global contact information of the website, not only convenient for visitors, but also has a positive driving effect on your content operation:

  • Enhance brand professionalism: Consistent contact information display helps build a professional brand image.
  • optimize user experience: Visitors can easily find the information they need, reduce search costs, and improve satisfaction.
  • Boost SEO: Clear local contact information helps with local SEO rankings, especially when your business is related to a specific geographic location.
  • Simplify the update processAll contact information is centrally managed. Once the information changes, it only needs to be modified in one place on the backend, and all front-end calls will automatically update, avoiding omissions and inconsistencies.

By using AnQiCMS's 'Contact Information Settings' and flexible template tags, you can easily build a professional website with complete information and convenient communication.Whether it is a corporate website, product showcase, or marketing site, it can be presented to your target audience in the clearest way, thereby effectively enhancing user interaction and conversion.


Frequently Asked Questions (FAQ)

Q1: If I modify the contact information on the AnQiCMS backend, will the front page update immediately?A1: Yes, the contact information settings of AnQiCMS are dynamic.After you save the changes in the background, the front page will immediately read and display the latest contact information when the user visits.

Q2: Can I set multiple contact numbers or email addresses for different purposes? For example, a sales number, a customer service number.Of course, you can.The "Custom Setting Parameters" feature of AnQiCMS is designed for this purpose.You can add multiple custom fields, such as "SalesPhone" and "SupportEmail", and fill in the corresponding contact information.{% contact with name="SalesPhone" %}and{% contact with name="SupportEmail" %}Call them separately.

Q3: Should the social media link be filled with the complete URL or just the account name?A3: It is recommended to enter the complete URL. For example, for Facebook, you can enter the complete link to your personal page or company page (such ashttps://www.facebook.com/yourpage),so the user can click and directly jump.For WeChat, if it is a public account, you can fill in the link of the public account article or the enterprise WeChat link, or the link to your personal WeChat homepage to ensure a smooth user experience.

Related articles

How to configure independent templates, SEO information, and content display for single pages (such as "About Us", "Contact Us")?

When operating a website, some seemingly simple single pages, such as 'About Us', 'Contact Us', or 'Terms of Service', carry the brand image, trust endorsement, and user conversion entry of the website.Independently design a visual style for these pages, optimize their search engine (SEO) information, and flexibly display content, which is crucial for enhancing user experience and the professionalism of the website.AnQiCMS provides powerful and flexible features that allow you to easily meet these needs.### Core Function: Customize Exclusive Experience for Single Page First, let's understand how to use AnQiCMS

2025-11-08

How does image resource management in AnQiCMS affect the display quality and loading speed of front-end images?

In the process of running a website, images play a crucial role.They are not only part of the content presentation, but also a key factor affecting user experience and website performance.AnQiCMS (AnQiCMS) provides a series of practical functions in image resource management, which are directly related to the display quality and loading speed of the pictures on our website's front end.Deeply understand and make good use of these tools, which can help us build a website that is both beautiful and efficient.Why is image management crucial for a website?

2025-11-08

How to implement pagination display of article lists in AnQiCMS and customize the style and logic of pagination navigation?

AnQiCMS as an efficient and flexible content management system provides intuitive and powerful functions for handling article lists and pagination display, allowing content presentation to meet user needs and various customized scenarios.If you are using AnQiCMS to build a website and want to implement pagination for the article list, and finely control the style and logic of the pagination navigation, then the following content will explain the implementation method in detail.

2025-11-08

How to display an article list on the front end and support filtering by content model, category, recommendation attributes, and other conditions?

AnQi CMS provides extremely high flexibility for website content, whether it is displaying articles, products, or other custom content, it can easily cope with it.When we need to display a content list on the website frontend and allow users to filter based on content models, categories, recommended attributes, and other conditions, Anqicms provides very intuitive and powerful template tags to achieve these functions. Flexible customization of list display, which not only improves user experience but also effectively helps visitors quickly find the information they are interested in.In AnQi CMS

2025-11-08

How to customize the website navigation menu and control its display order and level relationship at different positions on the website?

The website navigation is a map for users to browse the website, not only guiding users to find the information they need, but also reflecting the structure of the website and the user experience.In AnQi CMS, customizing and managing the navigation menu of a website, including their display order and hierarchical relationships, is an operation that is flexible and efficient.In order to optimize the user experience, or to better support content marketing and SEO strategies, Anqi CMS provides powerful and intuitive tools.Next, we will explore how to customize your website navigation in Anqi CMS in detail.

2025-11-08

How does AnQiCMS automatically generate Sitemap and configure Robots.txt to optimize search engines' crawling and display of website content?

Search engine optimization (SEO) is the cornerstone of any website's success, and Sitemap and Robots.txt files are the key tools we use to communicate with search engines.They are like the 'instruction manual' and 'traffic rules' of a website, helping search engines efficiently and accurately crawl and display our content. 幸运的是,AnQiCMS was well thought out from the beginning of its design, built-in powerful SEO tools, making these seemingly complex operations extremely simple. Next

2025-11-08

How to display友情链接 in front-end and add nofollow attribute according to needs?

Manage and display friend links in Anqi CMS, which not only helps to enrich the external connections of the website, but also is a delicate operation that needs to be fine-tuned during SEO optimization.It is particularly important to flexibly control the `nofollow` attribute according to requirements, which is crucial for maintaining the health of website links and the transmission of weight.Our Aiqi CMS provides intuitive and powerful features, allowing us to easily achieve these goals.--- ### Configure friend links in AnQi CMS backend Firstly, all the friend links displayed on the front end cannot be separated from the detailed configuration in the backend

2025-11-08

How to enable and display the captcha function correctly in the website's comment and message form?

When running a website, spam comments and malicious messages often cause headaches.They not only affect user experience, but may also consume server resources, and even reduce the professional image of the website. 幸运的是,AnQi CMS内置了验证码功能,可以帮助我们有效过滤这些不速之客,让网站环境更加清朗。Below, we will learn together how to enable and display the captcha function correctly in the website's comment and message form. ### Step 1: Enable captcha feature in the background First, we need to go to the management interface of the website background.Find 'Function Management' in the left navigation bar

2025-11-08