Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #862684

    Hi, what is best way to make a social profile icon in the header and footer as a nofollow link?
    Unfortunately I don’t have a child theme.
    Thanks
    Best Regards

    #863561

    Hey,

    Please go to enfold/includes/helper-social-media.php file and find

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

    and change it to following

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

    We would recommend you to use a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ otherwise, you would need to apply the changes each time you update the theme :)

    Best regards,
    Yigit

    #864789

    Hi, I’ve modified helper-social-media.php file and works great! In the meanwhile I’ve created also a child theme. Do I have to copy “helper-social-media.php” file with that modification in the child-theme folder?
    Thanks
    Best regards

    #864792

    Hi,

    Yes, please copy it inside “includes” folder on your child theme :)

    Best regards,
    Yigit

    #864800

    Hi Yigit, excuse me, I don’t have that folder on my child theme folder, only classic two files like style.css and function.php. Do I have to copy near those?

    #864943

    Hi,

    You can simply create the folder and name it “includes” and place it inside your child theme where style.css file and functions.php files are and then insert the file inside that “includes” folder. If you need assistance, please post FTP logins here privately :)

    Best regards,
    Yigit

    #865274

    Hi, I’ve done what you said, but if you can give a look in private, will be great.
    In private there are ftp credential.
    Thank you.
    Best Regards.

    #865346

    Hi,

    It seems to work fine on my end. Attached a screenshot in private content field. Have you figured it out already?

    Best regards,
    Yigit

    #865362

    Yes, you are great!
    Thanks Yigit.
    Best regards

    #865368

    Hi,

    Glad Rikard could help! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Link no follow on social profile icons’ is closed to new replies.