How does AnQiCMS support multi-level menus and custom navigation categories to optimize the display of the website structure?

Calendar 👁️ 57

In website operation, a clear and effective navigation system is the key to user experience and search engine optimization.It not only guides visitors to quickly find the information they need, but also shows the structure and relevance of the content to search engines.AnQiCMS (AnQiCMS) has fully considered the actual needs of operators in website navigation settings, providing flexible multi-level menus and customizable navigation category functions to help users easily build a well-organized website structure.

Core advantage: Flexibility and structurization

The navigation feature of AnQi CMS is designed to provide high customizability and convenient management.It exceeds the limit of a single top navigation, allowing you to create multiple independent navigation areas based on the layout and content planning of the website.This flexibility means that you can design special navigation menus for different parts of the website, such as headers, footers, sidebars, or even specific pages, to better guide users and optimize the path to information retrieval.

Custom navigation categories: Flexible layout of different areas

Imagine, a website usually does not have just one navigation bar.The main navigation may focus on core services or products, while the footer navigation may contain copyright information, privacy policy, or contact information, and the sidebar navigation may be used to display subcategories of the current page.A security CMS deeply understands this, it allows you to easily create and manage multiple custom navigation categories in the background "navigation settings" through the "navigation category management" feature.

Just click “Add Navigation Category”, enter a meaningful name, such as “Footer Navigation” or “Side Category Navigation”, and you can add independent navigation links to this area.This way, each navigation area of the website can have its own unique content and structure, avoiding the confusion of all links being crammed into the main navigation, making the website layout clearer and more orderly.

Multi-level menu settings: Clear presentation of hierarchical relationships

In order to better organize the website content, the Anqi CMS navigation system supports up to two-level menu structures.This means you can set a primary menu item and create a first-level submenu below it (that is, the dropdown menu we often refer to).This design is especially practical for displaying content with clear classification levels (such as product categories, service projects, or article topics).

In the "Navigation Link Settings", when you add a new navigation link, you can specify which main menu item the current link belongs to by selecting the "Parent Navigation" option.If you select "Top Navigation", it will become an independent main menu item;If you select an existing top-level menu item, it will automatically become a submenu under the menu.Such a hierarchical division makes the structure of the website content clear at a glance, helping users to easily explore the depth of the website's content through a step-by-step approach.

Rich selection of navigation link content

AnQi CMS provides various link types to meet the complex needs of your website content, ensuring that each navigation item can accurately point to the target:

  • Built-in linkThis includes links to the home page of the website, the home page of the article model, the product model home page, or other custom content model home pages.These are the quick access points of the core functions of the website, no manual URL input is required.
  • Category page linkYou can conveniently select from existing article categories, product categories, or pages created separately and directly set them as navigation links.When your website content is organized through a classification system, it greatly simplifies the process of creating navigation.
  • External link: If you need navigation links to other custom URLs within the site, or even to external websites, external link types offer the greatest flexibility.Enter the complete URL to jump.

This diverse type of link ensures that no matter what your content is, whether structured categories, independent pages, or external resources, it can be seamlessly integrated into the navigation system.

Optimize navigation display and management

In addition to structural support, Anqi CMS also provides rich detail settings to make your navigation more expressive:

  • Display name and subtitle name: You can set a friendly display name for navigation items, such as "Contact Us".If your website needs to support multilingual or has more rich display requirements, you can also add a "subheading name", such as displaying the English translation below the main title.
  • Navigation descriptionAdd a brief description for each navigation item, which can be used as a mouse hover tip or detailed display in some template designs to enhance user experience.
  • Display order: By adjusting the size of the number, you can accurately control the display order of each navigation item within its category, the smaller the number, the closer to the front.

Navigation call in the template: Turn design into reality

In Anqi CMS, the backend navigation settings need to be combined with the call to the front-end template in order to finally appear in front of the user. This is mainly achieved throughnavListtags. For example, you can use{% navList navs with typeId=1 %}Call the links data of the navigation category with backend ID 1 (usually the default main navigation).

Through a simpleforLoop, you can iterate to get the data of each navigation item, for example, using{{ item.Title }}Get the navigation name,{{ item.Link }}Get the link address, as well as{{ item.IsCurrent }}Determine if it is the current page link so that different styles can be applied.

For navigation items that contain submenus,item.NavListThe property allows you to easily loop again and display the secondary menu content.This allows template developers to flexibly utilize these data to build various style and interactive navigation menus, whether it is a traditional dropdown menu or a complex Mega Menu, they can handle it with ease.

In summary, the navigation setting function of Anqi CMS supports custom navigation categories and two-level menu structures,配合multiple link types and detailed display controls, providing powerful tools for website operators.It not only optimizes the hierarchical structure of the website, improves the user navigation experience, but also helps search engines better understand and capture your website content, bringing better operational results to your website.


Frequently Asked Questions (FAQ)

Q1: Can I create other navigation menus besides the top navigation, such as footer navigation?A1: Of course, you can. Anqi CMS supports creating multiple custom navigation categories through the 'Navigation Category Management' feature.You can add a new navigation category in the "Navigation Settings" backend, for example, named "Footer Navigation", and then add a dedicated navigation link for the category.In the front-end template, you can specifytypeIdParameters to call different navigation categories.

Q2: How many levels can the website navigation menu of Anqi CMS be set to?A2: The navigation menu of Anqi CMS supports up to two levels: one main menu and its one-level submenu (i.e., dropdown menu).In the 'Navigation Link Settings', you can define the hierarchical relationship of menu items by selecting 'Parent Navigation'.

Q3: If the name of a product category on my website is too long and looks crowded in the navigation, how should I deal with it?A3: In the "Navigation Link Settings", you can set a separate "Display Name" for each navigation item.This display name can be different from the actual page title linked, thus allowing you to display simpler and more beautiful text in navigation.At the same time, you can also use the 'navigation description' field to add additional information to the navigation items, which can be displayed when needed.

Related articles

How does AnQiCMS handle the display of external links in documents, does it automatically add the `nofollow` attribute?

In website operation, the management of external links is an important task, which not only relates to user experience, but also has a direct impact on search engine optimization (SEO).The use of the `nofollow` attribute can help website managers control the transmission of link weight more accurately, avoiding unnecessary risks.For users of AnQiCMS, understanding how the system handles external links in documents and whether it automatically adds the `nofollow` attribute is crucial for efficient website operation.AnQiCMS provides a clear and flexible strategy for handling external links

2025-11-08

In AnQiCMS content settings, how to finely control the display of images (such as WebP, automatic compression, thumbnails)?

In website operation, images are important elements to attract users and convey information.However, unoptimized images may also be the culprit behind slow website loading, which can then affect user experience and search engine rankings.AnQi CMS knows the importance of image optimization and therefore provides a variety of fine-grained image control features to help you achieve a perfect balance between website performance and visual effects.### One, WebP: The intelligent choice for lightweight and fast image acceleration WebP, as a modern image format, typically has a file size 25-34% smaller than JPEG at the same visual quality

2025-11-08

How does AnQiCMS support Markdown content editing and correctly render mathematical formulas and flowcharts on the front end?

AnQiCMS understands the desire of content creators for efficient and flexible editing tools.The new version introduces Markdown editor, greatly enhancing the convenience of content publishing.It is even more surprising that AnQiCMS not only supports basic Markdown syntax but also allows complex mathematical formulas and flowcharts to be elegantly presented on your website front-end through simple configuration.This is undoubtedly a powerful boost for websites that need to display professional knowledge, technical documentation, or educational content.### Enable Markdown Editing Feature First

2025-11-08

How to build and display the navigation path of the current page in the website using the `breadcrumb` tag?

In website construction and operation, user experience (UX) is always at the core.When visitors delve deeper into your website, a clear navigation path can effectively prevent them from getting lost and quickly understand their current location.This is the value of the 'Breadcrumb Navigation'.It not only enhances user experience, but is also an important part of Search Engine Optimization (SEO), helping search engines understand the hierarchy of your website structure.AnQi CMS knows this and therefore provides a convenient and easy-to-use `breadcrumb` tag

2025-11-08

How to flexibly set the display name, subtitle, and description of navigation links to enrich the navigation display of the website?

The website's navigation system is like the table of contents of a book, guiding readers to the chapters they are interested in and subtly shaping their overall perception of the website's content.A well-designed, informative navigation that can significantly improve user experience, help visitors quickly find the information they need, and also bring a positive impact on search engine optimization (SEO).The Anqi CMS provides detailed and powerful navigation management features, allowing you to go beyond simple link text and create more expressive and practical website menus.Why is navigation not just links? In the digital age

2025-11-08

How to precisely control the display summary of the homepage TDK settings of AnQiCMS in the search engine results page?

In website operation, the homepage of a website is like a digital facade of a company, and its display quality on the search engine results page (SERP) directly affects the visitor's willingness to click.Precisely controlling this facade, which is what we commonly refer to as TDK (Title, Description, Keywords) settings, is a crucial step in achieving efficient search engine optimization.AnQiCMS as a content management system focused on providing an intuitive and powerful home page TDK setting feature, helps users accurately control the display summary of the home page in search engines.###

2025-11-08

How to support image classification and replacement in image resource management while keeping the URL address unchanged to avoid display issues?

In today's digital world, website content not only needs high-quality text, but also engaging visual elements.Images, as an important component of website content, their effective management is directly related to user experience, SEO effect and daily operation efficiency.For us who are committed to efficient content management, how to properly organize and update image resources while avoiding potential problems is an indispensable part of our daily work.AnQiCMS is well-versed in this, and its image resource management function is meticulously designed to address these pain points.

2025-11-08

How to ensure that the AnQiCMS front-end page updates and displays the new image after the image resource is replaced?

When using AnQiCMS for website content maintenance, images are indispensable visual elements.However, sometimes the image resources are successfully replaced in the background, but the front page fails to display the updated image in time, which may confuse you.This is usually not a system failure, but due to the operation of various caching mechanisms.Understanding these mechanisms and mastering the corresponding handling methods can help you efficiently solve this problem.## The intrinsic mechanism of AnQiCMS image replacement Firstly, it is crucial to understand how AnQiCMS handles image replacement

2025-11-08