Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

TC Users

// Add Shortcode
function add_shortcode() {

	// Code
$users = get_users($user_array);
			if( !empty( $users ) ){
				foreach ( $users as $user ){
					$user_data = get_user_by('id', $user->ID);
					$content .= '
	                    <div class="channel-header">
							
							<div class="channel-image"><a href="'.get_author_posts_url( $user->ID ).'">'.get_avatar($user->ID).'</a></div>
							
							<div class="channel-info">
								<h3>'.$user_data->display_name.'</h3>
								
								<span class="channel-item"><strong>'.__('Videos:','mars').'</strong> '.mars_get_user_postcount($user->ID).'</span>
								<span class="channel-item"><strong>'.__('Likes:','mars').'</strong> '.mars_get_user_metacount($user->ID, 'like_key').'</span>
								<span class="channel-item"><strong>'.__('Views:','mars').'</strong> '.mars_get_user_metacount($user->ID, 'count_viewed').'</span>
							</div>
						</div>
					';
				}
			}
			return $content;
}
add_shortcode( 'tc_members', 'add_shortcode' );