Title: [Plugin: Co-Authors Plus] Making authors sortable
Last modified: August 20, 2016

---

# [Plugin: Co-Authors Plus] Making authors sortable

 *  Resolved [Russell Heimlich](https://wordpress.org/support/users/kingkool68/)
 * (@kingkool68)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-making-authors-sortable/)
 * I’ve been using the Co-Authors Plus plugin for assigning multiple authors to 
   posts. The authors are very particular in the ordering of the names on the public-
   facing side of the website so I need the ability to arbitrarily order the authors.
 * It turns out it’s not that hard using a line of jQuery to make the Co-Author 
   Plus metabox sortable on the edit post screen:
 *     ```
       jQuery('#coauthors-edit').ready(function($) {
           $( "#coauthors-list" ).sortable({ axis: 'y', containment: 'parent'     });
       });
       ```
   
 * Now I can drag and drop to re-order the authors and it all works! Yay! I made
   a little plugin for this. The source is at [http://svn.kingkool68.com/projects/sortable-co-author-plus/](http://svn.kingkool68.com/projects/sortable-co-author-plus/)
 * The problem is the order of the authors rearranges if the post is modified in
   quick edit/batch edit mode on the post listing screen (the page that lists all
   of the posts before you choose one to go in and edit).
 * I need to find a way to prevent the author terms from updating during a quick
   edit/batch edit post and for the life of me can’t figure out how it is done.
 * Maybe someone here can help shed some light on what I’m missing. The source code
   is here: [http://plugins.trac.wordpress.org/browser/co-authors-plus/trunk/co-authors-plus.php](http://plugins.trac.wordpress.org/browser/co-authors-plus/trunk/co-authors-plus.php)
 * Any ideas?
 * [http://wordpress.org/extend/plugins/co-authors-plus/](http://wordpress.org/extend/plugins/co-authors-plus/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-making-authors-sortable/#post-2447537)
 * Just started looking into this… neat trick! Want to prepare a patch for [this ticket](http://plugins.trac.wordpress.org/ticket/1438)
   and we’ll include drag and drop ordering in the next release?
 * I’ve only confirmed the author terms being changed in Bulk Edit, not Quick Edit.
   Is this the case for you too?
 *  Thread Starter [Russell Heimlich](https://wordpress.org/support/users/kingkool68/)
 * (@kingkool68)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-making-authors-sortable/#post-2447546)
 * Yup that’s the case for me to. Bulk Edit wipes out the custom order of the authors.
 * I’ll submit a patch once I learn how to do that 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Co-Authors Plus] Making authors sortable’ is closed to new replies.

 * ![](https://ps.w.org/co-authors-plus/assets/icon-256x256.png?rev=2945095)
 * [Co-Authors Plus](https://wordpress.org/plugins/co-authors-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/co-authors-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/co-authors-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/co-authors-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/co-authors-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/co-authors-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Russell Heimlich](https://wordpress.org/support/users/kingkool68/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-making-authors-sortable/#post-2447546)
 * Status: resolved