How to Create One [for Beginners]

Chưa được phân loại

Want to learn how to set up a WordPress dropdown menu?

In this article, we’ll walk you through creating your dropdown menu step-by-step – with screenshots!

You can do everything with core WordPress functionality – *if* your theme supports dropdown menus. If your theme does *not* support dropdown menus, you will need a third-party plugin.

But we’ve got you covered regardless of the situation. Let’s dive in!

Your first step should be confirming that your theme supports dropdown menus. Unfortunately, not all themes offer dropdown menu support. For example, the Neve theme includes built-in functionality to create both dropdown and mega menus. If you’re unsure, please check your theme’s documentation to see if dropdown menus are supported.

💡 If your theme doesn’t support dropdown menus, this method won’t work for you. Hence, you must check Method #2.

If it does, then you can take advantage of the most popular way to create a WordPress dropdown menu (and one of the easiest).

Even better? If you choose to create a dropdown menu in WordPress by using the default menu option, you don’t have to worry about the menus disappearing when you switch up your theme or add new plugins!

To get started, head to your WordPress dashboard and click on Appearance > Menus.

WordPress dropdown menu

If you see a prompt telling you to create a menu, you’ll need to, as the prompt says, create a menu to get started. I’ll show you that in Step 1. If, however, you already have a menu, complete with some links, you can jump straight to Step 2.

If you don’t already have a menu, enter a name in the Menu Name box and then click the Create Menu button. The actual name isn’t important – just make it easy to remember:

Title menu

Once you’ve created a menu, it’s time to add links.

add page to menu

To add links to your content, use the sidebar to check off which pages or posts you’d like to show up in your menu. Once you’ve selected the content you want to add, click the Add to Menu button.

You can also get more creative and include custom links in your dropdown menus. To learn more about them, read this post.

Now, you should have a list of all your menu items. To create your dropdown menu, you can use drag and drop to move the items you want to appear in the dropdown over. The “parent” item will appear on the main menu. And the menu items underneath the parent item will appear in the dropdown when a user hovers their mouse over the parent item:

WordPress dropdown menu gif

Once you’re happy with the organization, click on Save Menu.

Once that’s done, you’ll need to figure out where you’d like your menu to show up on your website. The header is usually the best choice (no one wants to scroll to the bottom of your homepage just to find your “Contact” or “About” page!).

You can choose where to display it in the Menu Settings area:

Location of menu

There are two things to note here:

  1. You might see different Display locations because the actual names are different for each theme. Usually, you’ll want to pick something like “Top Menu”, “Primary Menu”, “Primary”, etc. if you want to make your menu appear in the header.
  2. If you check the Automatically add new top-level pages to this menu box, it will add any new pages you create to the menu. This can get cluttered fast, and isn’t recommended!

Once you save your changes, you’re done!

A more visual way to manage your dropdown menus

As an alternative to the method above, you can also manage your menus using the “live preview”.

Manage with Live Preview

Clicking this button will bring you to your WordPress Customizer.

Set up menus visually

While the interface looks a little bit different, all the same principles apply. You’ll still be able to:

  • Drag and drop menu items to create dropdowns
  • Change menu locations
  • Etc.

And the benefit is that you’ll be able to see a live preview of your WordPress dropdown menu in real time.

If you’re reading this part, it means that your theme does not support dropdown menus. To be able to create this kind of menu, you need a third-party plugin. We recommend Max Mega Menu:

💡 What the plugin method brings new to the equation is the fact that it enables the dropdown feature for your menus when your theme does not support them natively. However, it does not create menus for you. You still need to create them using the WordPress core functionality described in Method #1.

Next, we are going to show you how to add dropdown to your menus for free with Max Mega Menu (in three steps):

Step 1: Install the plugin

In your WordPress dashboard, go to Plugins → Add New. Type “Max Mega Menu” in the search bar and click on Install. After the installation, click on Activate. Now, the plugin is active and ready to use.

If you’ve never installed a WordPress plugin before, here’s a complete tutorial on how to do it in a few easy clicks.

Step 2: Set up the dropdown feature for your menu

Once the plugin is installed, it will appear in your dashboard menu. Click on its name and you will see the main plugin page.

max mega menu page

Let’s assume you want to add a dropdown to your Primary Menu.

If you do not have any menus on your website yet, check Method #1 to learn how to create one via WordPress’ built-in functionality.

Click on Primary Menu via the plugin’s page to set your preferences. Make sure to tick the box that enables the dropdown for this particular menu. Keep in mind that you can enable the dropdown feature for all your menus, and not just for one.

max mega menu enable dropdown

After you enable the dropdown, choose the event that triggers the sub-menus. For example, the sub-menus can drop down when people either hover or click on the main menu. Next, choose the animations that accompany the dropdown menus – for desktop and mobile.

Last but not least, select the style of the menu. You can display the default menu styling that the plugin provides or allow the menu to inherit your current theme’s styling. Click on Save Changes before moving to the next step.

Step 3: Create the dropdown menu

Once you established and customized the dropdown elements, go back to Appearance → Menus in your WordPress dashboard. Make sure to select the Primary Menu (or the menu for which you enabled the dropdown) in “Select a menu to edit”.

menus page WordPress

Now, drag any post, page, category, or custom link with the mouse under the parent menu item – a bit to the right. All the menu items that appear under the parent item will display in a dropdown when a user hovers or clicks on the menu (based on the trigger event that you set initially).

WordPress dropdown sub menus

Quick tips for using dropdown menus

Now that you know how to properly set up a WordPress dropdown menu, we wanted to give you 3 quick tips to keep in mind:

  • When using the default WordPress dropdown menu option, you’re able to arrange where you place your sub-menus. For example, if your menu is titled “Food” and you want “Breakfast” to appear before “Dinner”, simply drag and drop breakfast to the top!

Moving menu items

  • When creating menus, title them appropriately! For example, if you have a menu titled “About”, you wouldn’t want to have your “Contact” and “FAQ” in the dropdown menu. On that note, we suggest having “Contact”, “FAQ”, and “About” as separate menu options.
  • As a general rule of thumb, you shouldn’t put all of your eggs in one basket. In this case, don’t create one menu and throw all of your sub-menus into it.

As long as you keep those 3 tips in mind when creating your WordPress dropdown menus, you’ll be good to go!

Final thoughts

If you follow the step-by-step instructions we’ve provided, you’ll easily be able to create WordPress dropdown menus in just a couple minutes.

WordPress allows you to customize nearly everything on your website, so there’s no reason you shouldn’t be creating user-friendly sub-menus. Especially since they help your customers navigate through your website.

Do you have any other questions about how to create a WordPress dropdown menu? Leave a comment and we’ll try to help out!

Free guide

5 Essential Tips to Speed Up
Your WordPress Site

Reduce your loading time by even 50-80%
just by following simple tips.

Bài viết liên quan

Trả lời

Email của bạn sẽ không được hiển thị công khai.