WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20200 closed feature request (duplicate)

Better Support for term_order field

Reported by: alex-ye Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: Taxonomy Keywords: 2nd-opinion needs-patch close
Focuses: Cc:

Description

I was wondering about the benefits of 'term_order' field in the WordPress database now , It will be very nice if we make it more helpfull , when I was working in a new website I use this plugin :

http://wordpress.org/extend/plugins/gecka-terms-ordering/

I install a new plugin just to order ! , I think we should support this in the WordPress core .

Change History (3)

comment:1 alex-ye2 years ago

For who doesn't know :

Where Is 'term_order' Field ?
It is located in term_relationships table .

comment:2 in reply to: ↑ description jeremyfelt2 years ago

  • Cc jeremy.felt@… added
  • Keywords close added
  • Resolution set to duplicate
  • Status changed from new to closed

Replying to alex-ye:

I was wondering about the benefits of 'term_order' field in the WordPress database now

...

I install a new plugin just to order ! , I think we should support this in the WordPress core .

You can apply term_order to a taxonomy by registering it with array( 'sort' => true ) as an argument. *Needs to be added to the codex.

Check out comment:7:ticket:9547 for a good example of how to apply this to post_tags, though it's probably more applicable to a custom taxonomy in which you also guide the term order through the admin UI. May also be worth starting a support thread in the forums.

Duplicate: #9547

comment:3 nacin2 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.