How do I make a URL open in a new tab in WordPress?

Sometimes when doing linking on your website, you might  want To make a URL open in a new tab in WordPress, you can follow these steps:

1. Using the Visual Editor:

a; In the WordPress editor, create or edit the post or page where you want to insert the link.
b; Highlight the text or image that you want to turn into a link.
c; Click the “Insert/edit link” button in the editor toolbar. It usually looks like a chain link icon.



d;In the popup window that appears, enter the URL you want to link to in the “URL” field.
e;Check the box next to “Open link in a new tab” option.
f; Click the “Add Link” button to insert the link into your content.
g; Update or publish your post/page to save the changes.

You can view video below to follow step by step

2. Using the Text Editor (HTML view):

In the WordPress editor, switch to the Text (HTML) view.
Locate the anchor tag that represents the link you want to open in a new tab.
Add the target=”_blank” attribute within the anchor tag.

 

 

Views: 150

Previous Post Previous Post
Newer Post Newer Post

Leave a comment

× Live Whatsapp Chat?