Site icon Hip-Hop Website Design and Development

Question Customers by submit rely, final 30 days and show every customers submit rely in response to submit sort

I am virtually carried out, the code under does the whole lot however show submit rely for every person damaged down into submit varieties, and in addition I am wish to filter it final thirty days.

I am attempting to get the submit for every person fr the customized submit sort ‘music’.

<div id="top-artist-wrapper">

<?php foreach ( get_users('orderby=post_count&quantity=5') as $person ) : ?>

<div class="top-artists">
<?php echo get_avatar($user->ID, '64'); ?>

<div class="artist-name">
    <?php echo $user->display_name; ?> (<?php echo count_user_posts( $user->ID, $post_type='music' ); ?> Posts)

</div>

</div>

<?php endforeach; ?>
</div>

What am I lacking, is the even the proper technique to do the question?

Pardon the HTML blended in.