Support » Plugin: Display Authors Widget » Order by post?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sami Keijonen

    (@samikeijonen)

    Member

    Sorry I didn’t see this question before. I look into this tomorrow.

    Plugin Author Sami Keijonen

    (@samikeijonen)

    Member

    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;
    
    }

    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

    (@samikeijonen)

    Member

    Put it in your custom plugin. You can create your own plugin with this plugin.

    http://wordpress.org/extend/plugins/pluginception/

    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

    (@samikeijonen)

    Member

    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.