Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

How can I open external links in WPDiscuz comments in new tab.

2 Posts
2 Users
0 Reactions
3,116 Views
WPDiscuzNoob
(@wpdiscuznoob)
Active Member
Joined: 7 years ago
Posts: 7
Topic starter  

Hi,

First of all, thank you for creating such an awesome comment plugin. 🙂

Now coming to my question, I want to know if I can make some changes in `functions.php` using the `add_filter()` or any other such function so that external links posted by users in comments always open in new tab and they have a `nofollow` attribute?

Thanks.



   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6580
 

Thank you WPDiscuzNoob,

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 finding the solution using some 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 Dashboard > Settings > QC CLR Settings admin page.

external link


   
ReplyQuote
Share:
Scroll to top