1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
></p>
					<?php endif; ?>
	
					<?php do_action( 'bp_directory_members_item' ) ?>
					
					<?php
					 /***
					  * If you want to show specific profile fields here you can,
					  * but it'll add an extra query for each member in the loop
					  * (only one regadless of the number of fields you show):
					  *
					  * bp_member_profile_data( 'field=the field name' );
					  */
					?>
					`bp_get_profile_field_data( array( 'field' =&gt; 'cancer type', 'user_id' =&gt; bp_displayed_user_id() ) );`

				</div>
			</div>
			
		</li>

	<?php endwhile; ?>
	</ul>

	<?php do_action( 'bp_after_directory_members_list' ) ?>