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

    Hi, could you please tell me, how I can add nofollow to the social links and to the logo/partner element…

    Thx and bests

    #755367

    Hey mirkorau,

    Yes, open up wp-content/themes/enfold/includes/helper-social-media.php and replace:

    
    $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:

    $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>";

    As for the logo add the following to functions.php:

    add_theme_support(‘avia_rel_nofollow_for_links’);

    and then you can select the “nofollow” option when you choose “Link” – “Set Manually”.

    Best regards,
    Jordan Shannon

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