Open link in new window using WordPress menu editor

Keith Curreri - Blog Headshot

By Keith Curreri on May 22, 2012

This is a simple little tip to give a link in a WordPress menu a “target” element in the WordPress menu editor.

While on the Menus page (under Appearance section) in the WordPress admin section, click the Screen Options button at the top right of the screen.

Screen Options

Click the Link Target checkbox.

Link Target

Now you can set the “target” element in the dropdown for the menu item.

Open in new window or tab

See, I told you it was easy!

Did you like this post? Want to get more like it?

Website Redesign Course
Subscribe
Notify of
guest
6 Comments
Inline Feedbacks
View all comments
Mitch Mitchell
10 years ago

Okay… that doesn’t make sense. lol Don’t most of us use pre-built themes, or am I being too literal?

admin
admin
10 years ago
Reply to  Mitch Mitchell

Mitch, some WordPress 3.0 themes come with customizable menus that allow admins to make changes to their nav menus in the WordPress admin section. Some changes could be adding pages, sub-pages, or posts to nav menus in a theme.

Before WP 3.0, admins had to rely on their theme or manually change the code to modify menus.

Hope I explained this a little better this time!

Mitch Mitchell
10 years ago

Cool… next time you can write to tell us what we use menus for because it’s the first time I’ve ever noticed that there. lol

admin
admin
10 years ago
Reply to  Mitch Mitchell

Menus are mostly used in a lot of prebuilt WordPress themes for admins to add pages to a navigation bar. Let me know if that doesn’t make sense.

Mitch Mitchell
10 years ago

Hey Keith, I can’t find it. What action would we have to be doing so that this option comes up? I’d thought it would be while trying to write a new post but I didn’t see it there.

admin
admin
10 years ago
Reply to  Mitch Mitchell

Hi Mitch,

Sorry for the confusion. This would be on the Menus page (under the Appearance section) in the WordPress admin section. I can see how the post may have been confusing and I just updated it to clear it up. Thanks for the feedback!

-Keith

6
0
Would love your thoughts, please comment.x
()
x