Description:

In this post i’ll show you how to display top active author in your custom menu, what you need to di is apply for the following code in your function.php file; this is a good function if you have a multi author blog

The Code:

function wpc_top_authors($items, $args){
    if( $args->theme_location == 'header-navigation' )
        return $items . '<li><a href="#">Authors</a><ul class="sub-menu"><li>' . wp_list_authors('show_fullname=1&optioncount=0&orderby=post_count&order=DESC&number=10NUMBEROHERE&echo=0') . '</li></ul></li>';
}
add_filter('wp_nav_menu_items','wpc_top_authors', 10, 2);

To edit the number of authors showed, just edit the “10NUMBEROHERE” strings.