Addressing profile fields with complex names
-
Inserting into my reddle-child/buddypress/members/members-loop.php the following code:
<?php bp_member_profile_data( 'field=Geschlecht' ); ?>
<?php bp_member_profile_data( 'field=Jahr' ); ?>
and
<?php bp_member_profile_data( 'field=Bundesland, Kanton oder Wahlkreis' ); ?>
works.
But the following code does not work:
<?php bp_member_profile_data( 'field=Teamgründung bzw. Geburtsjahr' ); ?>
and
<?php bp_member_profile_data( 'field=A:Bezirk oder Statutarstadt; CH: Bezirk o.ä.; D: LANDKREIS oder KREISFREIE STADT; Li: Gemeinde' ); ?>
Therefore I assume, that dots with in field names (in my cases: ‘bzw.’ and ‘o.ä.’) are a problem. –
Is there a possibility to address profile fields by other means than with their field names? Are there e.g. id-numbers or something like that, which I could use (instead of the names)?
Cfr.:
https://buddypress.org/support/topic/modifying-the-member-list/#post-202802
- The topic ‘Addressing profile fields with complex names’ is closed to new replies.