I have come across multiple WordPress users who aren’t aware that WordPress has a bunch of functions hidden in the “Screen Options” section of multiple Administration Pages. Today I want to show you how to open links in custom menus in a new window or tab (i.e. add a target=”_blank” to link or menu items). Just follow the steps below to unearth the hidden WordPress feature.
Click on Appearance >> Menu in the WordPress dashboard.
Look for the Screen Options drop down menu in the top right corner of your browser window.
Under Show advanced menu properties tick the Link Target checkbox.
Add a new link to your custom menu and click on drop down arrow to edit menu items. Voila! You can now decide if your menu item opens in same window or new window.