When building a website using DED CMS, designing and managing website categories is crucial to the site's structure and functionality. In this article, we will explain how to add website categories in the DED CMS backend with detailed steps and code examples to help you easily master this technique.
First, you need to log in to the DED CMS backend management system. In your browser, enter your website address followed by “/dede”, for example “www.yoursite.com/dede”, and then log in with your username and password.
After logging in successfully, click the “Category” option in the left sidebar to enter the category management interface. In this interface, you can manage all categories, including adding, editing, and deleting them.
In the category management interface, click the “Add New Category” button at the top right to open a new category creation window. Here, you need to fill in the basic information of the category, including the category name, attributes, type, etc.
In the new category window, you can set various attributes of the category, such as selecting the category type (e.g., article module, image module, etc.), setting the parent category, and more. The settings of category attributes are vital to the overall structure and functionality of your website, so be sure to complete them carefully.
Once you have filled in the relevant information for the category, click the “Save” button at the bottom of the window to save the settings. At this point, you have successfully added a new category.
Go back to the frontend of the website and refresh the page. You will see the newly added category now displayed on the website. Click on the category to visit the page corresponding to it and check its contents.
This is the complete step-by-step process for adding a website category in DED CMS. Based on your website's needs, you can customize the category to fit. We hope this article helps you smoothly add categories when building your website with DED CMS and improve the functionality and aesthetic of your site.