What are menus in WordPress? #
In WordPress, menus are collections of links to pages, posts, categories, and custom URLs that allow users to navigate your website. Menus are usually displayed in the header, footer, or sidebar of the website, and they can be accessed from any page on the site. WordPress allows you to create multiple menus and assign them to different locations on your website. You can use the Menus feature in the WordPress dashboard to create, edit, and manage your menus. To create a menu, you need to give it a name and add the desired items to it. You can add pages, posts, categories, and custom links to your menu. You can also reorder the items in the menu by dragging and dropping them into the desired position. Once you create a menu, you can assign it to a location on your website, such as the main menu, the footer menu, or the sidebar. You can also style your menu using CSS or use a plugin to add custom features.
Menus are an important part of the navigation and user experience on a WordPress website, and they should be designed to be easy to use and intuitive.
Pages v Custom Links #
In WordPress, pages are static content that is not tied to a specific date or category. They are usually used to display information that does not change frequently, such as the “About” or “Contact” page. Pages can be organized in a hierarchy, with parent and child pages, and they can be displayed in the menu of a website.
Custom links are links to any URL, inside or outside your website. They can be used to add links to social media profiles, external resources, or any other type of link to your menu. Custom links are not tied to any specific content on your website, and they do not have a dedicated page or template.
When you add a page or a custom link to a WordPress menu, you can specify the link text, the URL, and any additional attributes, such as the target attribute or the CSS class. You can also specify the position of the item in the menu, by dragging and dropping it into the desired location.
In summary, the main difference between pages and custom links in WordPress menus is that pages are static content that is part of your website, while custom links are external links that can point to any URL. Pages have a dedicated page and template, while custom links do not.
Creating Menus #
In your admin pages click Appearance > Menus
Here you can create new menu:
Or you can add items to existing menu:
In your admin pages click Appearance > Menus
Custom Links #
You can add custom links by adding the URL( it can be a relative or absolute ) and Link Text. And then click ‘Add to Menu’