As an experienced CMS website operation person, I am well aware of the importance of a smooth and easy-to-use content management system in my daily work, and I also understand the readers' demand for clear and easy-to-find contact information.In the Anqi CMS, setting and managing the main contact phone number for the website is a fundamental and critical operation, which ensures that users can quickly contact you when needed, thereby establishing trust and promoting business transactions.
On the backend management interface of AnQi CMS, setting the main contact phone number for the website is a straightforward process, which is integrated into the global configuration for easy unified management and template invocation.Firstly, you need to log in to the backend system of Anqi CMS.In the navigation menu on the left side of the background, you will see a series of functional modules.Please find and click the 'Background Settings' option, here are all the core configurations of the website.
After entering the "background settingsThe contact information management of the website is located in the "Contact Settings" module.Click to enter this page, and you will see a series of preset contact information fields, including 'Contact Person', 'Contact Phone', 'Contact Address', 'Contact Email', 'WeChat ID', and 'WeChat QR Code'.Here, the main contact phone number of the website is carried by the field "Contact Phone".You only need to enter the mobile phone number or landline number you want to display publicly.This phone number becomes the default main contact method for the website once saved,供front-end template to call.
When the main contact phone number of the website is set and saved in the background, the next step is to ensure that it can be displayed correctly on the website's frontend page.The AutoCMS provides a simple and powerful template tag mechanism, making it easy to call system configurations in templates.contactLabel it to call it. Specifically, to display the 'Contact Phone' you just set in the background, the usage in the template is{% contact with name="Cellphone" %}.CellphoneIs the calling name defined internally in the 'Contact Phone' field of AnQi CMS.
For example, if you want to display your main contact phone number in the footer of the website, you can add the following code at the corresponding location in the template file (usuallypartial/footer.htmlor the main layout file):<div>联系电话:<a href="tel:{% contact with name='Cellphone' %}" rel="nofollow">{% contact with name="Cellphone" %}</a></div>So that, when users visit the website, they can see the clear contact phone number and click to call, which greatly enhances the user experience and convenience.
The 'Contact Information Settings' of AnQi CMS also has certain extensibility.If you have other business phone numbers (such as sales hotlines, customer service hotlines) in addition to the main contact phone number, or need to display unique contact information for specific templates, you can use the "Custom Setting Parameters" feature at the bottom of the page to add them.By setting 'Parameter name', 'Parameter value', and 'Notes', you can create new contact fields and call them through your custom parameter names in the template, achieving more flexible and diverse display of contact information.
Common Questions and Answers (FAQ)
问:How to set the default contact phone number in the Anqi CMS website?
答:You can log in to the Anqi CMS backend, find "Backend Settings" in the left navigation bar, and then click to enter the "Contact Information Settings" page.On this page, find the "Contact Phone" input box, enter the phone number you wish to display and save.After saving, this phone number will become the main contact information that the website's front-end template can call.
问:Why didn't the website front end update immediately after changing the contact phone number in the background?
答:This is usually caused by website caching.The website speed is improved by generating static cache.When you modify the background settings, you may need to manually clear the website cache to synchronize the front-end content updates.You can find the 'Update Cache' option in the left navigation bar of the background management interface, click to execute the cleanup operation, which usually solves this problem.
问:If I need to set other phones (such as sales hotlines, customer service phones) in addition to the main contact phone, how does the AnQi CMS achieve this?
答:The “Contact Information Settings” page below of AnQi CMS provides the “Custom Setting Parameters” function.You can click the "Add Parameter{% contact with name="SalesHotline" %}This label is used to call and display this specific sales hotline number.