When in the Appearance > Menus
admin screen, click the Screen Options
tab in the upper right corner, then under Show advanced menu properties
tick the Link Target
box. You’ll now have a check box for each menu item labeled Open link in a new window/tab
.
That said, many people these days do not take kindly to this sort of behavior. I think best practices are to let the end user decide how new links open via their own browser preferences.
Related Posts:
- Add custom menu item using wp_nav_menu_items filter
- Removing link ” from ” menu for some “links” without JS
- Using filters to change href of nav menu page link
- Links open only on new tab or window
- How to get current page menu item name instead of full menu item list
- Adding different classes to anchor in navigation menu
- Pending Custom Link in Menu
- Force PDF download from custom menu?
- Page-Linking Structure
- How to add wechat (weixin) link to navigation menu?
- Admin only menu/page
- Image as a link using wp_nav_menu()
- Link that refers to a menu item with dynamically generated URL
- Fragment URL in navigation item without a custom link
- Link to Homepage in Menu
- Separator for custom nav menu
- How do you link to a place in another page without any styling issues?
- Custom Links menu items include in Search Results
- Menu custom link not working for external site
- Why is wordpress forcing https link generation?
- Links do not open from click, only in new tab [closed]
- Adding existing links to custom navigation menus?
- How to change the link on the logo at the menu?
- Creating Menu Links in a Custom Theme
- The cart, checkout, and shop links not getting removed
- URL links consistent with menus?
- Active class to current link
- How to add class to anchor using wp_nav_menu
- Simple form to add custom links to menu?
- Main menu navigation links and new pages
- custom menu widget where menu title is a link
- 2 item in a same menu pointing to 1 page
- How to show pages in menu without link
- Problem with links once in portfolio item
- How to create a link-less parent (top level) menu item that doesn’t use an anchor tag
- Menu links URL with PHP GET method
- Classes CSS (Optional) – how do I reference this in php?
- Why does WordPress convert absolute URLs to relative URLs for menu items?
- Parent link need to go first child submenu
- Add a data attribute to list item element in menu
- Links in new menu don’t work
- How to make menu output links absolute
- change link of menu particular tab
- Menu Structure with Links failure to update
- Top menu link anchor href value change after online server?
- Show content of subdomain from specific menu-item?
- Navigational error
- How do I add a link to the menu that has a charector (?) in it?
- Remove link from Page name in navigation bar
- Change menu item order
- Menu System: Custom Links
- Unsual behaviour of navigation Menus
- How to centre menu items on horizontal nav bar? (e.g. make margins equal) [closed]
- Wrapping my ‘s with
- Displaying list of random links using wp_nav_menu
- WordPress removes URL parameters from menu elements when saving the menu
- how to add permalink/slug to wordpress custom link menu item
- Main Menu Hover is Always White
- Using a menu walker add a custom item at the end of the menu’s items
- Add settings to menu items in the Customizer
- Menu items (all menus) being deleted randomly on their own [duplicate]
- Put a wp_nav_menu inside another one
- WordPress wp_nav_menu within iFrame
- Check if wp_nav_menu items have submenus
- wp_nav_menu doesn’t generate parent/ancestor classes
- WP_nav_menu fallback not working
- How to conditionally register nav menus with advanced custom fields?
- Change where navigation bar links?
- Does wp_nav_menu use the gettext filter?
- How to add #navbar to all page links?
- Change an li class name in a wordpress custom menu walker
- Custom walker nav – Add sequential number as class
- WordPress Custom Menus Issue
- Side Menu Icon Expandable
- wordpress responsive menu not dropping down
- Need Random Category Nav Menu
- edit user menu item
- Excluding a media query from specific pages
- Menu Arrow for Child Element
- Custom menu with different behavior for every item
- Responsive dropdown menu with smaller screen sizes
- Problem in applying active class to wordpress menu
- Creating custom menu with custom themes
- Expected snippet value not showing
- Wp Nav Menu div containers
- Add posts from a category to menu with all posts in it as sub menu
- Possible to append class to nav menu added to widget area?
- Page dependent sub-menu?
- Removing wp admin menu item on top bar of admin backend
- Error: Declaration of MyClass::start_lvl() should be compatible with that of Walker_Nav_Menu::start_lvl()
- WordPress nav-menus not finding page
- Primary menu items are dissapearing
- display cart information within li of cart menu item
- Removing menu item doesn’t get removed on edit post
- Menu not always using correct link
- How to add posts with thumbnails to my dropdown menu?
- can anyone help me converting my static menu to wp_nav_menu I’am trying to add static menu item to WordPress Menu
- Two Homes In Navigation Menu
- Theme supports only one menu. I need to add more – but how? [closed]
- add dynamic ID for wp_nav_menu after and before