How to Create Custom Links in Menu on WordPress: Step-by-Step Guide

Опубликовано: 16 Июль 2026
на канале: Ali Rizwan
32
5

Creating custom links in the menu of a WordPress website is a straightforward process that allows you to add personalized navigation options to your site. This can be particularly useful for linking to external websites, specific sections of your site not covered by your theme's default menu options, or any URL you wish to direct your users towards. Here's how you can do it:

Step 1: Access the WordPress Dashboard

Log in to your WordPress website's dashboard. You can usually do this by appending `/wp-admin` to your site's URL (e.g., `www.yoursite.com/wp-admin`).

Step 2: Navigate to Menus

In the dashboard, look for the `Appearance` section on the left sidebar. Click on `Appearance`, and then click on `Menus`. This will take you to the Menus editor page.

Step 3: Select Your Menu

You may have multiple menus depending on your theme and previous configurations. Select the menu you wish to edit from the drop-down list and click on `Select`. If you need to create a new menu, you can do so by clicking the `create a new menu` link at the top of the page, entering a name for your new menu, and clicking the `Create Menu` button.

Step 4: Add Custom Links

On the Menus editor page, you'll see a section labeled `Add menu items`. Within this section, click on `Custom Links`.
A dropdown will appear where you can enter the URL you wish to link to in the `URL` field, and the link text (the text that will appear in your menu) in the `Link Text` field.
After entering the URL and link text, click the `Add to Menu` button.

Step 5: Arrange Your Menu (Optional)

Once the custom link is added to your menu, you can drag and drop it to rearrange the order of the menu items or make it a sub-item of another menu item by dragging it slightly to the right under the desired parent item.

Step 6: Save Your Menu

After you’ve finished adding and arranging your menu items, be sure to click the `Save Menu` button to apply your changes.

Additional Tips

**Menus and Theme Locations**: Some themes have multiple menu locations. Make sure you're editing the correct menu or assign your edited menu to one of the theme's menu locations if needed.
**Managing Large Menus**: If you have a very large menu, you might need to increase the PHP max input vars limit to ensure all menu items are saved. This change can usually be made in your hosting control panel or by contacting your hosting provider.
**Custom Link Target**: By default, custom links open in the same window/tab. If you want them to open in a new window/tab, click on the `Screen Options` at the top right of the Menus page, check the `Link Target` box, and then choose “_blank” as the target for your custom links.

Following these steps, you can easily add custom links to your WordPress site's menu, enhancing your site's navigation according to your needs and preferences.

#wordpress #wordpressmenu #wordpresstutorial #wordpressforbeginners