Categories

Featured templates

WordPress. How to create a link in post/page and make it open in a new tab

Nicole Hallman May 12, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial will show you how to create a link in WordPress post/page and make it open in a new tab.

WordPress. How to create a link in post/page and make it open in a new tab

  1. First of all, log into your WordPress admin panel and navigate to Posts tab there. Open the post that you need to add a link to:

    wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-1

  2. Highlight the text that you want to link. Then click the Link button on the toolbar. In Visual mode it will look like on the screenshot below:

    wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-2

    In text mode it will look like on the screenshot below:

    wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-3

  3. In the popup that appears, enter the URL you want to link to:

    wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-4

    • URL: The URL of the link (include http:// at the beginning for external websites).

    • Title(Optional): Title of the link when a visitor hovers over it (a small tooltip will appear with the title).

    • Open Link in a New Window/Tab: If this box is checked, clicking on your link will open up a new window/tab.

    If you want to link to one of your existing posts or pages, use the search box to find the post/page that you want to link to. Click the title of the post or page, and the URL and Title fields will be filled in automatically:

  4. After you’ve entered the URL, click Add Link:

    wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-5

Alternatively, you can add a link in Text mode with HTML code.

  1. Specify the target in the <a href=””></a> Make sure to include http:// for external links.

  2. Then add the text that should work as a link, for instance ‘Link’.

  3. Finally, add an </a> tag to indicate where the link ends.

  4. In order to open link in new tab, add target=”_blank” into the link code:

    The example below shows how the link should look like:

    Click <a target="_blank" href="http://www.google.com">Link</a> to go to Google.com.

    wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-6

    Save/Update the post and refresh the page in your browser. You will see the link added:

wordpress_how_to_create_a_link_in_post_page_and_make_it_open_in_a_new_tab-7

Now you know how to create a link in post/page and make it open in a new tab.

Feel free to check the detailed video tutorial below:

WordPress. How to create a link in post/page and make it open in a new tab

Best Wordpress Website Templates
This entry was posted in WordPress Tutorials and tagged link, new, post, tab, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket