How can AnQi CMS create multi-level navigation menus, and does it support dropdown sub-menus?

Calendar 👁️ 50

As an experienced AnQiCMS (AnQiCMS) website operator, I know the importance of a clear and efficient navigation system for user experience and search engine optimization (SEO).High-quality navigation not only helps users find the information they need quickly, but also guides search engine spiders to effectively crawl website content, improving the overall performance of the website.The AnQi CMS provides an intuitive and flexible solution for creating and managing navigation menus, perfectly supporting multi-level menu structures.

Navigation design concept of Anqi CMS

The navigation management of Anqi CMS aims to provide highly customizable options to meet the business needs and design styles of different websites.The system understands that website navigation is not uniform, therefore it allows users to create various navigation categories such as main menu, footer menu, sidebar menu, etc., making content organization more flexible.This modular design allows content operators to build a navigation system that best fits the goals of the website based on the actual user paths and information architecture.

Create and manage your multi-level navigation menu

Building a navigation menu in Anqi CMS is a direct and efficient task.You can find the 'Navigation Settings' feature in the 'Background Settings' area of the backend.Here, the system provides two major modules such as 'Navigation Category Management' and 'Navigation Link Settings' to finely control each navigation element of the website.

First, you can create different navigation categories as needed.For example, in addition to the default top navigation, you may also need a sidebar navigation to display service items, or a footer navigation that includes legal statements and contact information.By 'Navigation Category Management', you can easily add these custom categories, assigning specific content sets to different navigation areas.

Next, the core "navigation link settings". Here, you can add specific link items for the selected navigation category. Each link item has rich configuration options:

  • display nameThis is the text displayed to the user for the navigation link on the front end.
  • Subtitle name and navigation descriptionThese fields provide additional text space, which can be flexibly called in the template to achieve richer navigation expression forms, such as displaying English translations or brief introductions below the main title.
  • Link Type: AnQi CMS provides three powerful link types:
    • Built-in link: Directly link to the homepage of the website, article model homepage, product model homepage, or any custom model homepage, operation is simple.
    • Category page link: Allow you to directly link navigation items to created article categories, product categories, or single pages, ensuring close integration between navigation and content structure.
    • External link: If you need to link to other pages within the site that are not managed by CMS, or to external websites, this option provides great flexibility.
  • Display orderBy setting the number size, you can precisely control the arrangement position of navigation items in the menu.

Smartly implement drop-down submenus (first-level dropdown support)

One of the core advantages of Anqi CMS's navigation system is its support for dropdown submenus.It allows you to configure a hierarchical dropdown menu for first-level navigation items, which is crucial for organizing a large amount of related content or providing more detailed options.

The process of implementing a dropdown submenu is very intuitive: when you edit or add a navigation link, you can specify its归属 through the 'Parent Navigation' option.If you select 'Top-level navigation', it will become a primary entry on the main menu.When you select an existing top-level navigation item as its 'parent navigation', the new link will naturally become the dropdown submenu of that top-level navigation item.

It is worth noting that Anqi CMS currently supports up to two levels of navigation links, which means you can have a main menu and a first-level dropdown submenu below it.This usually meets the needs of the vast majority of websites in practice, ensuring the depth of navigation while avoiding overly complex levels that can confuse users.

Display navigation flexibly in the template

On the template level, Anqi CMS passes throughnavListThe tag provides an extremely flexible way to render the navigation menu you set up in the background. This tag can retrieve all link data under the specified navigation category, including its hierarchical relationship.

Developers can utilize{% navList navs %}tags, in conjunction with template languagesforloop and conditional judgment to traverse all navigation items. When a navigation item containsNavListProperties (i.e., having a submenu) can nest anotherforloop to render its dropdown submenu. For example, you can useIsCurrentTo determine whether the current page corresponds to a navigation item, thereby adding the 'active' class to the item, providing visual highlighting feedback, and enhancing the user experience.

In addition, sinceNavListThe child item has the same field structure as the parent item, which allows for simple links to be displayed in the dropdown menu and combinedarchiveListorcategoryListTags, dynamically load related articles, products, or deeper-level category lists, and achieve richer and interactive navigation effects.For example, you can directly list the hot products under a product category dropdown menu, or the subcategories of the category, which greatly enhances the practicality and information density of navigation.

Operation strategy: Build user-friendly navigation

As an operations person, building a navigation menu is not just a technical configuration, but also an art.Clear navigation can effectively guide users, reduce bounce rate, and improve conversion.When setting navigation in AnQi CMS, I usually follow the following principles:

  • Simplicity: The first-level navigation items should not be too many, usually kept between 5-7**, ensuring that users can grasp the main content sections of the website at a glance.
  • Logics: The navigation structure should conform to user cognitive habits and business logic, categorizing content with high relevance.
  • VisibilityUtilizing the dropdown menu feature of AnQiCMS, hide secondary important information or detailed content cleverly under the main menu to maintain the interface's neatness.
  • Consistency: Different navigation categories (such as main navigation, footer navigation) should maintain consistency in function and style to reduce the user's learning cost.

By carefully planning and utilizing the powerful functions provided by Anqi CMS, we can create a website navigation system that is both beautiful and efficient.


Frequently Asked Questions (FAQ)

1. How many levels does the navigation menu of Anqi CMS support?

The Anqi CMS navigation system supports up to two levels of menus, that is, the main menu item can have a dropdown submenu with one level.This means you can create a clear main navigation and expand a related submenu list under each main item.

2. How to set the sorting of navigation items? Does it support drag and drop sorting?

The sorting of navigation items is achieved by setting the number in the "Display Order" field, the smaller the number, the earlier it is displayed.Currently, AnQi CMS does not support drag and drop sorting functionality, you need to adjust the order by manually modifying the numbers.

3. Can I display the latest articles under a specific category in the dropdown menu? Can this be done?

It is absolutely possible. When rendering navigation in the template, you can use it inside the loop of the submenu, combined witharchiveListorcategoryListetc. content tags, according to the current submenu item associated withPageIdIf it is a category link, dynamically retrieve and display the latest articles under the category or its subcategories, thus achieving a richer content display.

Related articles

How to set the TDK (title, keywords, description) on the Anqi CMS homepage, and what is its importance for website optimization?

As an experienced AnQiCMS (AnQiCMS) website operator, I am well aware of every detail of a website, especially the setting of the home page TDK (title, keywords, description), which plays a key role in making the website stand out in the fierce competition.With the powerful support of AnQiCMS, we can efficiently and accurately manage these important SEO elements, thereby bringing significant optimization effects to the website.### Understanding the meaning of TDK on the website homepage Before delving into its importance, we must first clarify what each TDK represents

2025-11-06

How to customize the contact information field in Anqi CMS and display it in the template?

As a website operator who is well-versed in the operation of AnQiCMS, I understand that the core of content management lies in the combination of flexibility and user experience.Contact information is an indispensable part of a website, its ability to customize the display directly relates to the shaping of the corporate image and the convenience of communication with users.AnQi CMS provides very friendly support in this regard.How to customize the contact information field in AnQi CMS and display it in templates In modern website operations, a clear and convenient contact method is crucial for gaining user trust and promoting business conversion.

2025-11-06

How to set up and apply the default thumbnail feature of AnQi CMS, and what impact does it have on documents without thumbnails?

As an experienced CMS website operation person, I know the importance of content in attracting and retaining users, and visual content, especially thumbnails, play an indispensable role in capturing readers' attention in the first place.In AnQiCMS, thumbnails are not only a guarantee of the beauty of content display, but also a key to improving user experience and the efficiency of content dissemination.Below, I will elaborate on the settings, application, and its impact on the document content of the Anqi CMS default thumbnail function.Configure the default thumbnail function of Anqi CMS In the Anqi CMS admin interface

2025-11-06

How to batch regenerate all thumbnails after changing the thumbnail size of Anqi CMS?

As a website manager who deeply understands the operation of Anqing CMS, I know that effective use of website content management, especially the effective use of image resources, is crucial for improving user experience and website loading speed.Thumbnail as the first impression of content presentation, its size and display method directly affect the beauty and loading efficiency of the page.When the need for adjusting or optimizing the visual design of a website arises, modifying the thumbnail size is a common operation.This article will detail how to batch regenerate all thumbnails after modifying the thumbnail size in Anqi CMS to ensure the consistency of the visual effects of the website content and **practice**

2025-11-06

How to customize Anqi CMS navigation categories, and achieve footer or sidebar navigation?

As a website operator who deeply understands the operation of AnQiCMS, I know the importance of a flexible and user-friendly navigation system for improving the discoverability and user experience of the website.The AnQi CMS provides powerful and intuitive navigation customization features, making it easy to deploy special navigation in the footer, sidebar, or any other area.The following will elaborate on how to customize navigation categories in AnQi CMS to achieve footer or sidebar navigation.### Understand the navigation system of AnQi CMS In AnQi CMS

2025-11-06

What are the uses of the 'Built-in Link', 'Category Page Link', and 'External Link' in the AnQi CMS navigation link?

In the daily operation of Anqi CMS, navigation links are the first hurdle for users to interact with website content, and they are also crucial for search engines to understand the website structure.As an experienced website operator proficient in content creation, editing, publishing, and optimization, I know that the setting of each navigation element affects user experience and SEO performance.The Anqi CMS provides three main types of navigation link types: built-in links, category page links, and external links, each playing a different role, together building an efficient website navigation system.

2025-11-06

Which modes of static rules does AnQi CMS have, and which one is most friendly to SEO?

As a website operator who has been deeply involved with AnQiCMS for many years, I know the importance of URL structure for website operations, especially for Search Engine Optimization (SEO).A clear and meaningful URL not only enhances user experience but also helps search engines better understand and crawl website content, thereby affecting the ranking performance of the website.The AnQi CMS is well-versed in this, providing various static rules to meet the needs of different websites.The pseudo-static rules of AnQi CMS, the core is to convert dynamic URLs (such as `/')

2025-11-06

How to customize the pseudo-static URL structure in Anqi CMS, what variables can be used?

As an experienced website operator who is well-versed in AnQiCMS, I know that a friendly and logical URL structure is crucial for the website's SEO and user experience.AnQiCMS provides strong flexibility in customizing static URL structures, allowing us to design the most suitable link format for the website according to specific needs. ## AnQiCMS URL structure customization guide for pseudo-static Pseudo-static URL, as the name implies, is a technique that makes dynamic pages look like static pages.

2025-11-06