Okay
  Public Ticket #2621593
Salient Theme Footer Social Links nofollow
Closed

Comments

  •  1
    CharTechTeam started the conversation

    Hi. I need to find out if you guys have built in the nofollow code to the social links in the footer. Doesn't look like it, but asking before I custom code anything.


    Thanks.

  •  8,849
    Tahir replied

    Hey Again,

    No, it's not added yet.

    Thanks


    ThemeNectar Support Team 

  •  1
    CharTechTeam replied

    Mind telling me the file where the "nofollow" needs to be added for the social links for the footer?

  •  8,849
    Tahir replied

    Hey Again,

    Try injecting it via JS code.

    This should help :Change logo url link via JS code Globally.

    Thanks


    ThemeNectar Support Team 

  •  1
    CharTechTeam replied

    If you don't mind explaining a bit further, would it look like this if I wanted to nofollow the social social link that uses an icon:

    <script type='text/javascript'>
    jQuery( document ).ready(function() { jQuery('a#logo').attr('href rel"nofollow"','http://twitter.com/my_handle');
    });
    </script>

    Since I probably do want to nofollow my logo would it then look like this:

    <script type='text/javascript'>
    jQuery( document ).ready(function() { jQuery('a#logo').attr('href','http://mydomain.com');
    });
    </script>

    Do I need to put the name of the logo file in place of the word "logo"?

    I'm super literal and likely overthinking this. A little more direction is much appreciated. Thank you.

  •  8,849
    Tahir replied

    Please provide the page URL so I may write up the correct JS code.
    Thanks


    ThemeNectar Support Team 

  •  1
    CharTechTeam replied

    The footer for https://hervibrators.com/ and the theme logo in the header, too (please).

  •  8,849
    Tahir replied

    Use this revised JS Code:

    <script type="text/javascript">
    jQuery( document ).ready(function() {
        jQuery('#footer-outer #copyright ul.social a').attr('rel','nofollow');
        jQuery('a#logo').attr('rel','nofollow');
    });
    </script>
    

    Thanks


    ThemeNectar Support Team