Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #290618

    I have Enfod template and not default or if something I’ve touched me, show me the comment on Dofollow! This is the first time it happens … Only want to put links in comenterios No Follow. http://www.yosoymarketing.com/como-funciona-twitter/
    Could you tell me some code to modify?
    Thank you.

    #290663

    Hi JuanRamonMarin!

    Thank you so much for using the theme.

    Please add this on functions.php to add the rel=”nofollow” attribute on comment links:

    function add_nofollow_to_reply_link( $link ) {
        return str_replace( '")\'>', '")\' rel=\'nofollow\'>', $link );
    }
    
    add_filter( 'comment_reply_link', 'add_nofollow_to_reply_link' );

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.