Support » Plugin: MetaSlider » Set order of slides

  • Resolved Jack

    (@moxie)


    I found this topic but it is over a year old. We would like to set the order of the slides automatically. Right now slides are added at the bottom and the only order option there is now is Random. Ordering new slides when the slider has many many slides is not easy.

    https://wordpress.org/support/topic/show-images-in-reverse-order/

    Does the code mentioned on that page also work for Repsonsive Slides?

    By the way, we use the Pro version.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor kbatdorf

    (@kbat82)

    Hi @moxie

    Does the code mentioned on that page also work for Repsonsive Slides?

    Yes, that code is generic and will work using any slider plugin library.

    I’m planning to add a “move to top” button that will move a slide to the top instantly. Do you think that would help your scenario?

    Yes that would work, thanks! Although a option for automatic sorting would be nice.

    Hi, after a year I came back to see if there is an update to this issue but still hasn’t been solved…
    I think the best solution is to add a checkbox in settings to show slides in reverse order.
    Thus all images can be added to the end and no moving of slides is necessary….
    With the option “Show slides in reverse order” checked, last slide will be shown first.

    I still use it despite the luck of this feature. I just move every time the new slide to the top.

    It a superb plugin missing a very basic feature.

    PS and the code doesnt actually work… every time you add a slide, the code changes the order of all slides. In every new slide added the order is changed creating a mess.

    • This reply was modified 1 month, 3 weeks ago by futurenet.
    • This reply was modified 1 month, 3 weeks ago by futurenet.
    • This reply was modified 1 month, 3 weeks ago by futurenet.
    Plugin Contributor kbatdorf

    (@kbat82)

    Hi @futurenet

    Under Advanced Settings there is an option to reverse the order already. That’s been there for years. Is that what you are looking for?

    Hi @kbat82
    this reverses the direction of the slides NOT the order of them.

    Now I cannot help but wonder if it is clear what I talked about.
    I will try once again to explain (although it is so simple)
    When I add a new slide, this goes at the very botton of the slides list.
    The slideshow will show (in the frontpage) this slide last in order of all slides.
    This is logically wrong because when one adds a new slide, expects to be shown first in the slideshow in the frontpage!
    So what I do every time, for every new slide, is move this new slide all the way up in the slide list. (Because I want this new slide to be shown FIRST in the slideshow in the frontpage).

    So there are two possible solutions:
    1. when one adds a new slide, this will be added first, up, in the slide list
    or
    2. a checkbox in settings e.g. “Reverse order of slides” so although the new slide is added in the very bottom of the slide list, the slideshow in the frontpage will start showing slides from the bottom up.

    Gee, I hope I clarified the case 😉

    Plugin Contributor kbatdorf

    (@kbat82)

    Hi @futurenet

    I believe you can add this if you want to reverse the order on the slideshow with an id of 1234:

    add_filter('metaslider_populate_slides_args', function($args, $slideshow_id) {
      if ($slideshow_id == '1234') {
        $args['orderby'] = 'DESC';
      }
      return $args;
    }, 10, 2);

    Not sure if you saw my second comment on this thread so I’ll copy/paste it here:

    I’m planning to add a “move to top” button that will move a slide to the top instantly.

    Let me know if you have any more questions (better that you open a new issue though)

    Hi @kbat82
    thanks for your fast reply…

    Tryied this piece of code and after some tests (as it didnt work properly) I had to manually move all my slides in the right order.

    I rest my case…

    Waiting for this “move to top” button. I also gave two other solutions. May the best one win.

    Plugin Contributor kbatdorf

    (@kbat82)

    Hi @futurenet

    Thanks for the feedback. If you have any further questions please open a new issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.