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

admin
By admin
1 Min Read

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.


style=”display:block”
data-ad-client=”ca-pub-5661107142169324″
data-ad-slot=”7356393295″
data-ad-format=”auto”
data-full-width-responsive=”true”>

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.

 

 

Share This Article
Follow:
Senkumba Darlius Bis a computer science-trained developer and cybersecurity consultant with over a decade of experience building secure web and app solutions across Uganda and Kenya. Through his platform, WebvatorShops.us, he leverages his technical expertise in payment integrations—alongside his firsthand experience navigating and identifying online scams—to provide in-depth platform reviews, fraud detection, and digital safety guides. Driven by a mission to protect individuals and businesses in the online money space, Senkumba combines his educational advocacy with professional consulting services, offering expert website development, payment integration, and cybersecurity solutions to ensure safe and fraud-resistant digital ecosystems.
Leave a Comment

Leave a Reply

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