The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
no follow on Login ...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] no follow on Login links?

3 Posts
2 Users
0 Reactions
944 Views
Posts: 4
Topic starter
(@lukem)
Active Member
Joined: 4 years ago

How would I go about adding rel=“nofollow” to the Login links in the comments on my posts?

2 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

@lukem,

Please use the following hook-code:

add_filter('wpdiscuz_login_link',function($link){
    $link = str_replace('<a href="', '<a rel="nofollow" href="', $link);
    return $link;
});

Put it in the active theme functions.php file.

Posts: 4
Topic starter
(@lukem)
Active Member
Joined: 4 years ago

Thanks!

Share: