Opened 16 years ago
Closed 16 years ago
#11017 closed enhancement (duplicate)
add "orderby" parameter to "wp_list_authors()" function
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.8.4 |
| Component: | Themes | Keywords: | has-patch early |
| Focuses: | Cc: |
Description
the wp_list_categories() function has a very useful "orderby" parameter that receives the following:
- ID
- name - Default
- slug
- count
- term_group
i want to add "orderby" parameter to wp_list_authors() function that will receive the following:
- ID
- name - Default
- count
Attachments (3)
Change History (11)
#1
follow-up:
↓ 3
@
16 years ago
- Keywords has-patch added; needs-patch removed
i added 2 parameters:
sort_column :
- ID
- user_login
- user_nicename
- display_name - default
sort_order :
- ASC - default
- DESC
This is not the best solution but it's easy to use.
#3
in reply to:
↑ 1
@
16 years ago
orderby :
- ID
- user_login
- user_nicename
- display_name - default
order :
- ASC - default
- DESC
Note: See
TracTickets for help on using
tickets.
patch based on some other function...