What Is Category
Categories are meant for a broad grouping of your posts. Think of these as general topics or the table of contents for your site. Categories are there to help identify what your blog is really about. It is to assist readers finding the right type of content on your site. Categories are hierarchical, so you can sub-categories. Their sole purpose is to sort your content to improve the usability of your site. Meaning when a user comes to your site, they can easily browse through your content by topic rather than browsing chronologically which is how blogs were initially setup.
So how do you include Categories in your WordPress drop down menu without using any line of code?
Start by browsing to Appearance – Menus. Select the menu where you want the link to be displayed. Create a new Link menu item and use # as the URL with the link text of categories. Then click the Add to Menu button.
Select which categories you want to be displayed within the dropdown list. After you add the categories to the menu, make sure to drag and drop them so that they are a child link underneath the parent menu of categories. Look at the following screenshot for reference.
After you’ve arranged the category links, save the menu. Visit your front page and hover over the categories link to make sure the dropdown list works correctly. The parent menu item of categories acts as a placeholder which is the ingenious part of the tutorial.
By using this technique, You can modify which categories and what order they are displayed using the WordPress menu manager. I don’t have to worry about it disappearing via plugins or by switching themes.
Author: CMSFolks Editorial Crew
Editorial Staff at CMSFolks is a team of Enthusiast WordPress experts led by Kunle Ajayi. The whole Website is maintained by Kunle Ajayi