Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #691023

    Wondering where I can add rel=”nofollow” to the Enfold Child Instagram Widget but cannot seem to locate the code.
    Thank you.

    #692234

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.