In website operation, single-page content such as "About Us", "Contact Information", "Service Introduction", and "Privacy Policy" is a core element for building website basic information, enhancing user trust, and facilitating users in quickly obtaining information.These pages usually have fixed content, but their importance is self-evident.AnQiCMS provides an intuitive and powerful single-page management system that allows you to easily create, manage, and display these key contents.
Create and edit single page content: Start from the backend
Manage the single page content in the AnQi CMS, first you need to enter the 'Page Resources' module of the background and select 'Page Management'.Here, you can create a new single page or edit an existing page.
When you create a single page, you will see a series of fields that together make up the complete information of the page. First isPage NameThis is the name that users see directly on the front end, for example, "About Us". Next, you will find important fields for search engine optimization, includingSEO title/KeywordsandPage summary. Fill in this information reasonably to help improve the page ranking and exposure in search engines.
For the clarity of the website structure and the convenience of user access, AnQi CMS allows you to set upCustom URL. You can specify a concise and meaningful link address for each single page, which is not only beautiful but also beneficial for SEO. For example, the URL of the "About Us" page can be/about-us.html. The system will generate a pinyin URL based on the page name by default, but you can modify it as needed to ensure the uniqueness of the entire site URL.
The content itself is the core of a single-page. Anqi CMS provides rich features.Single-page content editorSupports insertion of various media such as text, images, videos, and even enables Markdown editor for content creation.This means that whether it is a simple text introduction or a complex图文并茂 enterprise introduction, it can be easily completed here.
For visual display, you can also set up a single page.Banner imageandThumbnail. Banner images are commonly used for large promotional images at the top of pages, while thumbnails may be used in some navigation lists or recommendation modules to enhance the visual appeal of the page.
Finally,Display orderThe field allows you to control the order of single pages in the background list, making it easy to manage.
Display single page content on the website front-end: flexible template calls
Present the single-page content created on the back-end on the website front-end, which requires the powerful template tags of AnQi CMS to be implemented. The main ones used arepageDetailandpageList.
Display the detailed content of a single pageFor example, when accessing the "About Us" page, all the information can be displayed usingpageDetailThe tag is very flexible, you can specify the single page ID or its custom URL alias (token).For example, to retrieve the title of the 'About Us' page with ID 1, you can think about it in the template like this:
I want to display the title of "About Us" here, I will usepageDetailLabel, and specify the page 'Title' field to be retrieved.
Similarly, to display the main content of the page, you can retrieve itsContentField; to get the banner image set, you can getImagesfield. This means that you can call the corresponding data as needed from different parts of the page (title, description, images, text, etc.), and then combine HTML and CSS for layout, thus achieving a highly customized page layout.
List multiple single-page informationFor example, you can display links such as "About Us", "Contact Information", and "Privacy Policy" in the footer navigation of the website usingpageListLabel. This label will retrieve all the single page lists created, and you can iterate through these pages in the template to display their titles and links. For example:
"At the bottom of the website, I would like to have a list of links pointing to all important single pages. I will usepageListLabel, then in a loop, generate a title and corresponding link for each single page.
Unique display requirements: Custom single page template.
The strength of Anqi CMS lies in its high customizability. If a single page needs a unique layout and design that is completely different from other pages, you can utilizeSingle page templateFunction. When creating or editing a single page, you can specify a custom template file, such as specifying for the "About Us" pagepage/about.html. As long as you create this file in the theme template folder, the page will use this exclusive template for rendering.
This way allows designers and operators to perform in-depth optimization for specific pages, whether it is for the unique display of brand images or for the design of landing pages for specific marketing goals, they can respond flexibly.
Summary and Frequently Asked Questions
The Anqi CMS offers a concise and clear backend operation and flexible template calling mechanism, making the management and display of single-page content efficient and flexible.From basic information entry to fine SEO configuration, to free layout of front-end content, comprehensive support is provided.Whether it is a small business website or a content operation platform, it can easily create a professional and user-friendly single page with AnQi CMS.
Frequently Asked Questions (FAQ)
Q1: How to add a submission form to the 'Contact Us' page?
A1: The Anqi CMS is built-in with the "website message" feature, you can find it in the "function management".Firstly, configure the fields required for the message form in the background (such as name, email, message content, etc.).Then use it in the 'Contact Us' single page template,guestbookLabel to call and display this form. The comments submitted by users will be managed in the background "Website Messages".
Q2: Must each single page use the same layout? Can I make them look completely different?
A2: Absolutely. Anqi CMS supports specifying for each single pageCustom template. When editing a single page, enter a custom template filename in the "Single Page Template" field, for examplepage/custom-layout.html. As long as you create this file in the theme template directory, the single page will adopt the unique layout you designed.
Q3: Does a custom URL for a single page help with SEO?
A3: Yes, it is very helpful. Custom URLs can make the link structure of the page clearer and more descriptive, which helps search engines better understand the content of the page, thereby possibly improving the inclusion and ranking of the page.At the same time, by combining the filling of SEO title, keywords, and page description, you can comprehensively optimize the search engine performance of a single page.