Title: Add slides dynamically
Last modified: September 9, 2020

---

# Add slides dynamically

 *  [ttremain](https://wordpress.org/support/users/ttremain/)
 * (@ttremain)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/add-slides-dynamically/)
 * Is it possible to build a slider, or add slides to an existing slider, dynamically
   via PHP?
 * This would be used on a custom post template, for example.

Viewing 1 replies (of 1 total)

 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/add-slides-dynamically/#post-13380588)
 * Hi,
 * We don’t have this option at the moment but it’s something we are looking into
   for the future. Like from your other topic, you could access from the API but
   it would take a lot more effort than the other feature. If you want to source
   dive the code and get started, I could help you after you have something set 
   up. Otherwise it’s not something I can quickly give an example of.

Viewing 1 replies (of 1 total)

The topic ‘Add slides dynamically’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3568997)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/add-slides-dynamically/#post-13380588)
 * Status: not a support question