Title: Dynamically change &#8220;current&#8221; slideshow
Last modified: November 11, 2020

---

# Dynamically change “current” slideshow

 *  [mbreezy](https://wordpress.org/support/users/mbreezy/)
 * (@mbreezy)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/dynamically-change-current-slideshow/)
 * I’m trying to programmatically change the active slideshow based on conditions.
   I’ve looked in the database to find which setting is changed when you activate
   from one slider to another, but unable to find it.
 * Is there an action that can do this, or where in the database would this setting
   be? I’m basically changing from ID 123 to 456, just unable to find that.

Viewing 1 replies (of 1 total)

 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/dynamically-change-current-slideshow/#post-13651989)
 * Hi,
 * Are you using the shortcode? Could you do it there?
 * For example,
 * `<?php echo do_shortcode("[metaslider id=$id"); ?>`

Viewing 1 replies (of 1 total)

The topic ‘Dynamically change “current” slideshow’ 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, 7 months ago](https://wordpress.org/support/topic/dynamically-change-current-slideshow/#post-13651989)
 * Status: not a support question