bp_member_profile_data( ‘Custom field’) doesn’t work
-
Hello,
I try since 2 days to customize informations on the members pages ==> lilisoumise.fr/membrs
I find a topic said that I must go on members-loop.php
I add a custom field on the extended profile : Statut. I try to display on the member pages to add where the file said to me. but it doesn’t work. Do you know why ?
<?php /** * Fires inside the display of a directory member item. * * @since 1.1.0 */ 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 regardless of the number of fields you show): * bp_member_profile_data( 'Custom field name' ); */ bp_member_profile_data( 'Statut' ); ?>
- You must be logged in to reply to this topic.