To add a navigation menu in WordPress, you can follow these general steps:
- Access the WordPress Dashboard: Log in to your WordPress dashboard.
- Navigate to Menus: Go to
Appearance > Menus
. Here, you can manage your site’s menus.
- Create a New Menu: Click on the
Create New Menu
button. Give your menu a name, such as “Primary Menu”.
- Add Menu Items: Under
Menu Locations
, check at least one box to specify where your menu will appear on your site. Common locations include Primary Menu, Footer Menu, etc.
- Choose Menu Items: On the left side of the Menus screen, you will see boxes for
Pages
,Posts
,Categories
,Custom Links
, and others. Use these to add items to your menu. You can search for specific pages or posts, add custom links, or even add images using plugins like Menu Image.
- Organize Menu Structure: Drag and drop menu items to arrange them in the order you prefer. You can also create submenus by dragging items to the right of a parent item.
- Add Descriptions (Optional): If you want to provide descriptions for your menu items, enable the
Description
checkbox underScreen Options
at the top right of the Menus screen.
- Save Your Menu: Once you’ve added all the desired items and organized them, click
Save Menu
to apply your changes.
Remember, the exact steps may vary slightly depending on whether you’re using a classic theme or the Site Editor (also known as the Gutenberg editor). If you’re using the Site Editor, you would add a Navigation block to your site’s header, footer, or template and then add menu items directly within the block.
For more advanced customization, such as changing the font size of your menu or adding a button, you might need to use CSS. You can add custom CSS rules in the Customizer under Appearance > Customize > Additional CSS
WordPress F.A.Q articles
- How to use the WordPress Customizer effectively?
- How does the Customizer handle changes to the website’s code or structure?
- What is the WordPress Customizer?
- How can I ensure that my custom fields are properly formatted and validated?
- What are some other popular plugins for adding custom fields in WordPress?