Skip to main content
Fix grammatical and spelling errors, misc
Source Link

I found a solution to add rel="nofollow"rel="nofollow" to comments. My theme maker givedgave me this hack that you you can add in fucntionsfunctions.php (Dont garantie thatno guarantee it will work for evryoneeveryone, might depend ofon your theme):

function add_nofollow_to_comments_popup_link() {
    return ' rel="nofollow" ';
}
add_filter( 'comments_popup_link_attributes', 'add_nofollow_to_comments_popup_link' );

I found a solution to add rel="nofollow" to comments. My theme maker gived me this hack that you can add in fucntions.php (Dont garantie that will work for evryone depend of your theme)

function add_nofollow_to_comments_popup_link() {
return ' rel="nofollow" ';
}
add_filter( 'comments_popup_link_attributes', 'add_nofollow_to_comments_popup_link' );

I found a solution to add rel="nofollow" to comments. My theme maker gave me this hack that you can add in functions.php (no guarantee it will work for everyone, might depend on your theme):

function add_nofollow_to_comments_popup_link() {
    return ' rel="nofollow" ';
}
add_filter( 'comments_popup_link_attributes', 'add_nofollow_to_comments_popup_link' );
Source Link
Dolomats
  • 177
  • 2
  • 2
  • 9

I found a solution to add rel="nofollow" to comments. My theme maker gived me this hack that you can add in fucntions.php (Dont garantie that will work for evryone depend of your theme)

function add_nofollow_to_comments_popup_link() {
return ' rel="nofollow" ';
}
add_filter( 'comments_popup_link_attributes', 'add_nofollow_to_comments_popup_link' );