My partner links are affiliate links. So its very important to make them nofollow.
How can i do that?
Edit: I am talking about the Partner/Logo Element
thank you
Hey gmmediadienste!
Please go to wp-content\themes\enfold\config-templatebuilder\avia-shortcodes folder and open logoslider.php file and find this code in 465th line and add rel=’nofollow’ as shown in screenshot https://dl.dropboxusercontent.com/u/14975671/nofollow.JPG
Regards,
Yigit
Thank you, but find and replace seams to be the same.
I dont want to change core files. Can i copy the changed file to my child theme?
Hi!
I added a hidden feature in the post to support nofollow links. Insert this code into the child theme functions.php
add_theme_support('avia_rel_nofollow_for_links');
and then you can select the “nofollow” option when you choose “Link” – “Set Manually”.
Regards,
Peter
Wow, exactly what i need.
But unfortunately it not work. I still have only the option to set the target for the link.
Hi!
You can find the option by editing a logo/partner image then look for “Open Link in new Window?” option. Select the “Open in new window and use rel=nofollow” option.
Best regards,
Ismael
I am sorry, i added the code to the false functions.php.
Its working, thank you.