Feature #489
closed
Drag and Drop Ordering on Gallery Post Plugin
Added by Matt Gold over 13 years ago.
Updated over 13 years ago.
Category name:
WordPress (misc)
Description
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.
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.
Ron, I like the idea of something that tries to reorder gracefully instead of sinking a bunch of time into an ajax interface.
That makes sense to me, too. Thanks, Ron. In the meantime, I'll employ your 10, 20, 30 etc. suggestion, which is very smart!
I pushed this into master but inadvertently put #498 instead #489 on the message.
- Status changed from Assigned to Resolved
Great. Thanks for your work on this, guys. Just created another ticket.
Also available in: Atom
PDF