How to set External...
 
Share:
Notifications
Clear all

[Solved] How to set External Links to open in a new tab

3 Posts
2 Users
0 Likes
1,604 Views
Posts: 2
Topic starter
(@karinaglf)
New Member
Joined: 4 years ago

Hello,

I can't figure out how to set external links in the comments to open in a new tab. Is it possible to add a target=”_blank” rel=”noopener” as default?

Maybe it is a basic question, but I couldn't find it in the documentation or in the forum.

Thanks,

Karina

 

2 Replies
Asti
Posts: 7056
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

Hi @karinaglf,

wpDiscuz uses WordPress native comments functions and doesn't change the logic of the external website link system. 

As this is WordPress native logic we'd recommend using some other WordPress plugins e.g the Comment Link Remove plugin. 

After installing this plugin you'll need to enable the "Open Comment Links in New Tab" option. This option is located in the Dashboard > Settings > QC CLR Settings admin page.

Screenshot of Successful Lazy Load in Desktop Mode
Posts: 2
Topic starter
(@karinaglf)
New Member
Joined: 4 years ago

Hi, 

Ok! Thank you for your reply! I will take a look in the plugin.

Thank again,

Karina

 

Share: