Hi, I add the enfold-customer-review area on the website and type in the customer review text with website and his title on my startpage.
How can I set the links to the customer pages with “NOFOLLOW”?
Thanks Dietmar
Hey pumpmakers,
Sorry for the late reply, If you are manually adding the links to your site then you can add the rel=”nofollow” to them.
Please see this post on how to do so.
Best regards,
Mike
Hey pumpmakers,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
Hi Mike, thanks I know – Im not adding manually – its from Theme the Review area.
Here is the link Victoria: https://stuck-marketing.at/
In the middle are 2 reviews to find with link to their webpages.
Looking foward to your reply.
Best regards
Dietmar
Hi,
Oh, I see, to add nofollow to the testimonial links,
Try adding this code to the end of your functions.php file in Appearance > Editor:
function add_nofollow_testimonial_links(){
?>
<script>
(function($){
$(document).ready(function(){
$("a.aviablank.avia-testimonial-link").attr("rel", "nofollow");
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'add_nofollow_testimonial_links');
Best regards,
Mike
Hi Mike, thank you for the code. We could integrate it and it is working now.
Best regards
Dietmar
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)
Best regards,
Mike