Feature #489

Drag and Drop Ordering on Gallery Post Plugin

Added by Matt Gold over 11 years ago. Updated over 11 years ago.

Priority name:
Category name:
WordPress (misc)
Target version:
Start date:
Due date:
% Done:


Estimated time:


Ron, I am loving the gallery post plugin! It makes updating the home page of the site a million times easier. Thanks so much for your work on it.

The one thing that is a pain to do is to order posts -- if, say, I have a new slide that I want to appear third out of ten posts, I have to assign it the number 3 and then go back and re-assign numbers to posts 4-10. It's a time consuming process.

Is there any possibility that one could drag and drop posts to order them on the Gallery post interface -- pace where all posts are listed? That would make ordering a snap.

Looking forward to hearing your thoughts on this.


#1 Updated by Ron Rennick over 11 years ago

Thanks :)

As a short term solution: the display order does not need to be in sequence, so you can use 10,20,30... rather than 1,2,3 which allows you room to rearrange without having to adjust them all.

WP 3.1 is probably going to be out sometime in January and one of the changes/new features coming is that the admin area has been ajaxified. I haven't had much time to look at 3.1 yet, so I would hold off on any ajax based admin coding until I've had some time to look at that.

One option that would be relatively easy to implement would be to add a bit of code to the post save that checked to see if the menu_order being saved was already on another post. If it was, then auto increment the menu order of the others.

#2 Updated by Boone Gorges over 11 years ago

Ron, I like the idea of something that tries to reorder gracefully instead of sinking a bunch of time into an ajax interface.

#3 Updated by Matt Gold over 11 years ago

That makes sense to me, too. Thanks, Ron. In the meantime, I'll employ your 10, 20, 30 etc. suggestion, which is very smart!

#4 Updated by Ron Rennick over 11 years ago

I pushed this into master but inadvertently put #498 instead #489 on the message.

#5 Updated by Boone Gorges over 11 years ago

  • Status changed from Assigned to Resolved

Works like a charm, Ron. Fixed in

Marking the ticket Resolved as I think that Ron's solution is dynamite. Matt, if you feel strongly that drag and drop is needed, feel free to reopen and put into Future Release.

#6 Updated by Matt Gold over 11 years ago

Great. Thanks for your work on this, guys. Just created another ticket.

Also available in: Atom PDF