Wondering where I can add rel=”nofollow” to the Enfold Child Instagram Widget but cannot seem to locate the code.
Thank you.
Hey lunarstudio,
Please add following code to Functions.php file in Appearance > Editor
function avia_ig_attr(){
?>
<script>
jQuery(window).load(function(){
jQuery('.av-instagram-item a').attr('rel','nofollow');
});
</script>
<?php
}
add_action('wp_footer', 'avia_ig_attr');
Best regards,
Yigit