800,000+ WordPress sites are already using MetaSlider!

Change the Scrset and Rel Attributes For Slide Images

You can manipulate the anchor and image tag attributes by using MetaSlider’s available filters. That documentation article has sample code showing how to add a “rel” attribute of “lightbox” to each slide in a slideshow.

Update the CSS on your website using one of these recommended methods.

This code sample shows how to change “_self” to _blank” for links on the slides:

This next code sample shows how to change the scrset attributes for MetaSlider slides:


We hope that this code will be useful, but do not make guarantees. If you need troubleshooting help, or modifications to this code, please contact MetaSlider Pro support.