Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #266173

    can you indicate how I would change things in a child theme setup of enfold so the top navbar links to twitter/google+/facebook etc are rel=nofollow, and also, how I would make the ‘share’ links at the bottom of posts also all rel=nofollow

    thx

    #266238

    any ideas?

    #266248

    Hey!

    Copy the entire code of enfold\includes\helper-social-media.php into your child theme functions.php file (maybe you need to remove the first line which contains the $this->html .= "<a {$blank} href='".$share['url']."' ".av_icon_string($icon)." title='' data-avia-related-tooltip='{$name}'><span class='avia_hidden_link_text'>{$name}</span></a>";

    with

    
    				$this->html .= 		"<a {$blank} rel='nofollow' href='".$share['url']."' ".av_icon_string($icon)." title='' data-avia-related-tooltip='{$name}'><span class='avia_hidden_link_text'>{$name}</span></a>";
    
    

    and

    
    			$html .= "<a {$blank} href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])." title='".ucfirst($icon['social_icon'])."'><span class='avia_hidden_link_text'>".ucfirst($icon['social_icon'])."</span></a>";
    
    

    with

    
    			$html .= "<a {$blank}  rel='nofollow' href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])." title='".ucfirst($icon['social_icon'])."'><span class='avia_hidden_link_text'>".ucfirst($icon['social_icon'])."</span></a>";
    
    

    Regards,
    Peter

    #266324

    lovely- thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘nofollow social and share links’ is closed to new replies.