Sometimes when you click on a link it opens in the tab you’re in and other times it opens in a new tab. Here I’ll explain when to choose each option and how to make a link open in a new tab in WordPress’s editor and menu. These instructions work for both WordPress.com and WordPress.org.
Which links should open in the same tab?
And now the above paragraph has two examples of links opening in the same tab because this piece is in deena.co and so are those links.
Which links should open in a new tab?
All external links should open in a new tab. So, for example, if I now mention that I have a new post on habitza.com, the link should open in a new tab. Here is a link to Dear Introverted Man,.
Also, links to media should open in a new tab. For example, if my friend’s catalogue page includes a link to the catalogue in PDF format, when you click on the link to the PDF, it should open in a new tab.
These rules apply for menus as well.
How to make a link open in a new tab in WordPress
In a regular editor
1. Click on the link you want to edit.
2. Click on the Insert/edit link button in the WYSIWYG:
3. In the popup check the box “Open link in a new window/tab”:
4. Save and check your changes.
In a menu
1. Click on Appearance > Menus
2. At the veeery top of the page, click Screen Options:
3. Make sure Link Target is checked:
4. Minimize Screen Options.
5. Go to the menu item that should open in a new tab. Click to expand this item. Click on Open link in a new window/tab:
6. Save and check your changes.