• Resolved wizzvet

    (@wizzvet)


    Hi,

    I’m using MasterSlider in my template and I’m using the function: masterslider(1); but if I delete the slider with that id, I can’t get the slide again and I have to modify my template to restore the slider.

    I want to know how can I reset id. How how can I get the last slider

    Thanks

    https://wordpress.org/plugins/master-slider/

Viewing 1 replies (of 1 total)
  • Plugin Author averta

    (@averta)

    Hi

    It is important when you want to insert a slider to check its ID on the MasterSlider WP slider list page. When you remove some sliders, their IDs won’t be re-indexed and the sequence may broke up. This is important to keep persistent your sliders preventing unwanted changes on the already inserted ones.

    To get the latest slider IDs by php you can use get_masterslider_names function.

    Regards

Viewing 1 replies (of 1 total)

The topic ‘How to reset id’ is closed to new replies.