800,000+ WordPress sites are already using MetaSlider!

Metaslider_{type}_slider_anchor_attributes

Table of Contents

You can use this filter to modify or add attributes to each MetaSlider’s slide anchor (link) tag.

{type} can be flex, coin, responsive or nivo.


Parameters

$attributes

(array) (required) Default anchor attributes (eg url, target etc).

$slide

(array) (required) Slide data

$slider_id

(int) (required) Slideshow ID


Examples

This example below will automatically link each slide to it’s full image URL.