• I want a user to be able to click on a link and then have the new page open up in a new tab rather than clicking on a link and having the original page disappear.

    It seems to me that having a new page/tab show up should be the default response to a click; I want them to be able to get back on the website easily. (I have lots of links in my blogs).

    Anyway – does anyone know how to do this?

Viewing 1 replies (of 1 total)
  • As a general best practice, I’d only do this if the link goes to an external site.

    If you are creating the links in the WordPress visual editor, then just highlight the text you want to link with, click the link button in the editor toolbar, and then check the “open in new window/tab” checkbox.

    Or just add:

    target="_blank"

    to your link, as in this example:

    <a title="example.com" href="https://example.com" target="_blank">example.com</a>
Viewing 1 replies (of 1 total)
  • The topic ‘How to make a Link Open a New Window Rather than Replacing the page’ is closed to new replies.