[wp-trac] [WordPress Trac] #5126: Allow manual ordering of Links, Link Categories and Post Categories

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 1 01:01:19 GMT 2007

#5126: Allow manual ordering of Links, Link Categories and Post Categories
 Reporter:  froman118    |       Owner:  anonymous                                                               
     Type:  enhancement  |      Status:  new                                                                     
 Priority:  normal       |   Milestone:  2.4                                                                     
Component:  General      |     Version:                                                                          
 Severity:  normal       |    Keywords:  link, category, categories, term, order, by, sort, manual, set, blogroll
 My "My Link Order" and "My Category Order" plugins allow users the ability
 to set explicit orders for their links and categories, something that is
 already possible with Pages. Ordering by name or ID or other methods don't
 cut it for a lot of people and they want to be able to set an order and
 have it show up that way in their sidebar.

 In WP 1.5 and 2.1 it was necessary to modify core files to enable this
 behavior through plugins. WP 2.2 eliminated the need for modifying core
 files because an arbitrary order string could be passed to the template
 functions and it would be concatenated with "link_" or "cat_". With the
 introduction of WP 2.3 and terms, you can no longer pass a string in when
 trying to order Categories, you are restricted to ordering by name, ID,
 and count (link function still allows this behavior though).

 So instead of fighting against the system and forcing the many people that
 use my plugin to resort to overwriting core files I'd like to see about
 adding this functionality to Wordpress. The following changes/additions
 would be necessary for this:

 -Add columns or table to keep track of orders[[BR]]
 -Add interface to allow user to set order of links[[BR]]
 -Modify template functions to accommodate manual ordering method[[BR]]
 -Modify built in widgets to let users select manual order

 An interface to support the ordering is being developed for Pages in
 Ticket #2702.

 Could also just change the behavior of get_terms() to allow arbitrary
 order strings like get_bookmarks().

Ticket URL: <http://trac.wordpress.org/ticket/5126>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list