Title: Order by post?
Last modified: August 20, 2016

---

# Order by post?

 *  [TOAAC](https://wordpress.org/support/users/toaac/)
 * (@toaac)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/order-by-post/)
 * Hey, i wondered if it could be possible for me to chance the code so that when
   it lists the authors, it orders them by who had wrote the most post?
    🙂 Thank
   you for your help.
 * [http://wordpress.org/extend/plugins/display-authors-widget/](http://wordpress.org/extend/plugins/display-authors-widget/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Sami Keijonen](https://wordpress.org/support/users/samikeijonen/)
 * (@samikeijonen)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203240)
 * Sorry I didn’t see this question before. I look into this tomorrow.
 *  Plugin Author [Sami Keijonen](https://wordpress.org/support/users/samikeijonen/)
 * (@samikeijonen)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203242)
 * Try this one out in your custom plugin or themes functions.php.
 *     ```
       add_filter( 'display_authors_widget_query', 'my_order_by_post_count' );
   
       function my_order_by_post_count( $query_args ) {
   
       	$query_args['order_by'] = 'post_count';
   
       	return $query_args;
   
       }
       ```
   
 *  [Miss West Africa](https://wordpress.org/support/users/miss-west-africa/)
 * (@miss-west-africa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203266)
 * Hi. Sorry Im not very cody savy, and your other thread on the order of post count
   is closed so I have to ask here.
 * How do I apply the post count code via the php codes of your plug in files?
 *  Plugin Author [Sami Keijonen](https://wordpress.org/support/users/samikeijonen/)
 * (@samikeijonen)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203267)
 * Put it in your custom plugin. You can create your own plugin with this plugin.
 * [http://wordpress.org/extend/plugins/pluginception/](http://wordpress.org/extend/plugins/pluginception/)
 *  [rgoksu](https://wordpress.org/support/users/rgoksu/)
 * (@rgoksu)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203270)
 * Firstly, Thanks the super plugin…
 * i am asking a questions?
 * How can i Add **author last post title** Where under the author name?
 *  Plugin Author [Sami Keijonen](https://wordpress.org/support/users/samikeijonen/)
 * (@samikeijonen)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203271)
 * Please open a new topic for new question.
 * But it’s not gonna be simple, it needs some custom work.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Order by post?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/display-authors-widget_edeef4.svg)
 * [Display Authors Widget](https://wordpress.org/plugins/display-authors-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/display-authors-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/display-authors-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/display-authors-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-authors-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-authors-widget/reviews/)

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [by](https://wordpress.org/support/topic-tag/by/)
 * [display](https://wordpress.org/support/topic-tag/display/)
 * [most](https://wordpress.org/support/topic-tag/most/)
 * [order](https://wordpress.org/support/topic-tag/order/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 6 replies
 * 4 participants
 * Last reply from: [Sami Keijonen](https://wordpress.org/support/users/samikeijonen/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/order-by-post/#post-3203271)
 * Status: not resolved