WordPress – Make menu items to open in a new window (target _blank)

The following steps detail how to make a menu item in WordPress open in a new window, that is the links have the target=’_blank’ attribute.

This is done by adding additional screen options to the menu editor screen.

  1. In the WordPress administration (wp-admin) open ‘Appearance’ -> ‘Menus’
  2. WordPress-MenuTargetBlank1
  3. At the top right of the window, click on ‘Screen Options’
  4. Under ‘Show advanced menu properties’ place a tick next to ‘Link Target’
  5. WordPress-MenuTargetBlank2
  6. The menu items will now have an additional property called ‘Open link in a new window/tab’
  7. Place a tick for the menu items you want to open in a new window.
  8. WordPress-MenuTargetBlank3
  9. Click ‘Save Menu’ to save the changes.
  10. The menu items will now have the target=’_blank’ attribute, making them open in a new window.