[wp-trac] [WordPress Trac] #49418: Ability to order users by number of posts in custom post type

WordPress Trac noreply at wordpress.org
Wed Feb 12 16:39:00 UTC 2020


#49418: Ability to order users by number of posts in custom post type
-------------------------+------------------------------
 Reporter:  meevly       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:  trunk
 Severity:  trivial      |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by sabernhardt):

 @meevly Thanks for the ticket and welcome to Trac!

 This functionality would be more appropriate in a plugin instead of core,
 especially if one person wants a count for a specific custom post type and
 another wants to sort on the total of multiple post types. (See also
 related ticket:15200#comment:1 about showing the counts.)

 Admin Columns Pro might work for you. The free version enables you add a
 Post Count column for a custom post type, and sorting that column is a Pro
 feature.
 https://wordpress.org/plugins/codepress-admin-columns/

 I found out about that plugin when searching the support forum:
 https://wordpress.org/support/topic/sort-user-php-by-last-name/

 And there is at least one support topic about creating your own solution:
 https://wordpress.org/support/topic/creating-custom-columns-of-users-and-
 sorting-them/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49418#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list