800,000+ WordPress sites are already using MetaSlider!

MetaSlider Documentation

Let’s Connect


Use this filter to modify or add attributes to each slide anchor (link) tag.

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



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


(array) (required) Slide data


(int) (required) Slideshow ID


This example will automatically link each slide to it’s full image URL. {type} can be flex, coin, responsive or nivo.

function metaslider_add_full_url_to_slides($attributes, $slide, $slider_id) {
	if (!strlen($attributes['href'])) {
		$attributes['href'] = wp_get_attachment_url($slide['id']);
	return $attributes;
add_filter('metaslider_flex_slider_anchor_attributes', 'metaslider_add_full_url_to_slides', 10, 3);
Still stuck? How can we help?
Last Updated on January 01, 1970

Start Using Your Slider Today!

Create and Publish Forms in Minutes… What are you waiting for?