Press "Enter" to skip to content

How to Make a Menu Item Open in a New Tab

Getting menu items to open in a new tab is easy once you know where to look.

The Menus section in the Customizer actually doesn’t include this open, so you need to check the Menus page in the Appearance menu instead.

More confusingly, the option to open links in new tabs isn’t readily available in the Menus…menu… either. You have to click the Screen Options tab at the top right of the screen to enable the Link Target option, and then you can finally set menu items to open up in a new tab.

Transcript

In this video, you'll learn how to make WordPress menu items open in new tabs. Now if you watched my last few videos, we've been covering a lot of menu-based tutorials and you already know how to add an external link to your menu and how to add an external link icon to it, but it still opens up in the same tab, which you may not want and that may be confusing for visitors. So what I'm gonna show you now is how you can have visitors click on this link and have it open up in a brand new tab instead of in the same tab. Now so far we've been visiting the customizer to make all of our edits, but you'll notice that if we do try to make this menu item open up in a new tab, there's, there's no option for it. There's no way to add that customization within the customizer.

And WordPress might change this in the future because they do always make new improvements to the customizer, um, as they release new versions of WordPress. But right now, that option isn't there. And you may not think it's possible if this is the way that you always edit menus, but you can add this option if you go to the old menus settings page. So if you've never been here, you can go to the Appearance menu and then click on Menus below and you'll see a similar uh, but different interface here. If I click on the Themes menu item, you'll see I still don't have this open in a new tab option, but if I click on Screen Options, this small tab in the top right of the screen, there are a few advanced menu properties that I can enable. The one I want to add is called "link target."

Once I close screen options, you'll see I now have this checkbox I can click to make this menu item open in a new tab. So all I have to do is check that box, click save menu and I'm done. And now I don't think you can see the tabs the way the screen recording is set up, but I'll let you know that when I click on Themes, it does in fact open up in a new tab. So that menu option is tough to find, but it's really easy to use once you know where to look. If you still have questions, please post in the comment section below. Don't forget to subscribe if you want more WordPress tutorials, and thanks for watching.

Ben Sibley
Ben Sibley

After using WordPress for the last 9 years, I've made dozens of websites, designed and developed 20 themes that have been downloaded more than 1.5 million times, and personally helped thousands of WP users with their sites.

Now I'm sharing everything I know to help make WordPress an easier and more rewarding choice for building a website. If you have a question you want answered, submit your question here.