Open WordPress menu item link in a new browser tab or window

Opening a WordPress menu link in a new window or tab it is actually easy, but sometimes, like it happened to me also, when you are a beginner or intermediate user of this great CMS, it can be tricky.

So you have built a WordPress menu and you want one of the menu items to open in a new tab or window on your Firefox, Chrome or whatever browser you use. That is probably you have a menu item that links to another website, or to a .pdf or maybe a page with testimonials or whatever.

First you have to login to your WordPress dashboard and then go to Menus page by clicking on Menus link under Appearance. You will land on page which will look like this screenshot:

wordpress dashboard edit menus

After you select the menu you want to edit you will notice the menu items. Click the arrow on the right of the item you want open in a new tab to reveal additional configuration options. If you cannot see any option says “Open link in a new tab” then you have to click on top right Screen Options, under the Howdy, user name and next to Help button.

wordpress-menu structure screen options

Once you click on Screen Options tab it will expand and you will see some options listed. Under Show advanced menu properties, check the first one called Link Target. Once you check that, you will notice under each menu item this new option: Open link in a new tab. For the menu item which you want to open in a new tab, just check that option:

WordPress menu link new tab or window

What will this actually do? It will add the target=”_blank” to the HTML code of that <a> element. That is all. Good Luck!

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *