How can we improve WooSlider?

Order Attachment Slides by Menu Order

I mostly use the Attachment slideshow functionality from WooSlider to automatically grab the images attached to a page and create a slideshow. It would be nice if the default Wordpress drag-and-drop reordering could be used to change the order of the slides. I temporarily added this functionality by editing the query in class-wooslider-sliders.php to include the "orderby" => "menu_order" parameter.

46 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Steve SandersSteve Sanders shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • ChristaChrista commented  ·   ·  Flag as inappropriate

        I added 'orderby' => 'menu_order', 'order' => 'ASC', to line 125, so total section reads $query_args = array( 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'post_parent' => intval( $args['id'] ), 'numberposts' => intval( $args['limit'] ) );
        $attachments = get_posts( $query_args );

        seems to be working!

      • GregGreg commented  ·   ·  Flag as inappropriate

        This functionality would take this already great plugin to the next level. Big 3 votes for me.

      • Alexandru VladoiuAlexandru Vladoiu commented  ·   ·  Flag as inappropriate

        @Steve - do you mind sharing the hack? I'm not a programmer so I don't really know where (apart from class-wooslider-sliders.php) to add this line(s).

        Thank you!

      Feedback and Knowledge Base