Viewing 1 replies (of 1 total)
  • Hi there,

    Could you try adding the following code:

    /**
     * INSTALLATION: this code should be pasted into your theme's functions.php file.
     */
    function metaslider_nofollow($attributes, $slide, $slider_id) {
        $attributes['rel'] = "nofollow";
        return $attributes;
    }
    add_filter('metaslider_flex_slider_anchor_attributes', 'metaslider_nofollow', 10, 3);
    add_filter('metaslider_nivo_slider_anchor_attributes', 'metaslider_nofollow', 10, 3);
    add_filter('metaslider_responsive_slider_anchor_attributes', 'metaslider_nofollow', 10, 3);
    add_filter('metaslider_coin_slider_anchor_attributes', 'metaslider_nofollow', 10, 3);
    /* END metaslider no follow  */

    Thanks,
    Dave

Viewing 1 replies (of 1 total)
  • The topic ‘How to add nofollow tag to meta Slider Links’ is closed to new replies.