Opened 17 years ago
Closed 17 years ago
#11017 closed enhancement (duplicate)
add "orderby" parameter to "wp_list_authors()" function
| Reported by: | ramiy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 2.8.4 |
| Severity: | normal | Keywords: | has-patch early |
| Cc: | Focuses: |
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
@
17 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
@
17 years ago
orderby :
- ID
- user_login
- user_nicename
- display_name - default
order :
- ASC - default
- DESC
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch based on some other function...