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
any ideas?
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
lovely- thanks!