---
title: Enable Lazy Loading in MetaSlider
description: "This code is a plugin to allow enable lazy loading on MetaSlider. It is worth reading the comments in the Gist for more details on how to use this code. Add this code to a file located here: wp-content/mu-plugins/metaslider-dynamic-loading.php. You…"
url: "https://www.metaslider.com/docs/enable-lazy-loading-in-metaslider/"
updated: "2023-02-07"
category: "Slideshow: Code Samples"
---

# Enable Lazy Loading in MetaSlider

This code is a plugin to allow enable lazy loading on MetaSlider. It is worth reading the comments in the Gist for more details on how to use this code. Add this code to a file located here: wp-content/mu-plugins/metaslider-dynamic-loading.php. You should also update the IDs in the code to include the slideshows you want to use.

---

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.
