As a senior CMS website operations manager, I know the importance of a smooth and easy-to-use content management system for daily work, and I also understand the readers' need for clear and easily accessible contact information.In 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 Anqi CMS backend management interface, setting the main contact phone number for the website is a straightforward process, which is integrated into the global configuration for unified management and template calls.First, you need to log in to the Anqi CMS backend system. On the left navigation menu in the backend, you will see a series of functional modules.Please find and click the "Background Settings" option, here is collected all the core configurations of the website.
After entering the "Backend Settings", you will see sub-menus such as "Global Function Settings", "Content Settings", and so on.The website's contact information management is located in the 'Contact Settings' module.Click to enter this page, you will see a series of preset contact information fields, including 'Contact person', 'Phone number', 'Contact address', 'Email address', 'WeChat ID', and 'WeChat QR code'.Here, the main contact phone number of the website is carried by the field "Contact Phone".Please enter the mobile number or landline number you wish to display publicly.This phone number becomes the default main contact method for the website once saved, and is used by the front-end template.
After 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 correctly displayed on the website's frontend page.The Anqi CMS provides a simple and powerful template tag mechanism, making it easy to call various system configurations in templates.For contact phone numbers, you can use the dedicatedcontactLabel it to call it. Specifically, it is used in the template to display the contact phone number you set in the background.{% contact with name="Cellphone" %}. Among them,CellphoneIs a call name defined internally in Anqi CMS for the 'contact phone' field.
For example, if you want to display your main contact phone number in the website footer, you can add the following code at the relevant location in the template file (usuallypartial/footer.htmlor in the main layout file):<div>联系电话:<a href="tel:{% contact with name='Cellphone' %}" rel="nofollow">{% contact with name="Cellphone" %}</a></div>Thus, when users visit the website, they can see the clear contact phone number, and they can dial by clicking, which greatly improves the user experience and convenience.
The 'Contact Information Settings' of AnQi CMS also has certain extensibility.If in addition to the main contact phone number, you have other business phones (such as sales hotlines, customer service hotlines), or need to display unique contact information for specific templates, you can use the 'Custom Settings 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 templates to achieve more flexible and diverse display of contact information.
Frequently Asked Questions (FAQ)
How to set the default contact phone number for the website in Anqi CMS?
Answer: 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 Number" field, enter the phone number you want to display and save.After saving, this phone number will become the main contact method that the website's front-end template can call.
Why doesn't the website front-end update immediately after changing the contact phone number in the background?
Answer: This is usually due to website caching. AnQi CMS generates static caches to improve website access speed.After you modify the background settings, you may need to manually clean the website cache to synchronize the front-end content update.You can find the 'Update Cache' option in the left navigation bar of the background management interface, click to perform the cleanup operation, which usually solves the problem.
How can AnQi CMS be set up to add other phone numbers besides the main contact phone number (such as sales hotlines, customer service numbers)?
Answer: The "Contact Information Settings" page at the bottom of Anqi CMS provides the "Custom Setting Parameters" feature.You can click the "Add Parameter" button to create a new custom field, for example, the parameter name is "SalesHotline", and the parameter value is your sales hot line phone number.After saving, you can use it in the template{% contact with name="SalesHotline" %}This label is used to call and display this specific sales hot line number.