php - unexpected T_STRING in buddypress member header -
in buddypress can add member profile fields member header, beside user avatar. in buddypress member-header.php section commented out so:
<?php /*** * if you'd show specific profile fields here use: * bp_member_profile_data( 'field=about me' ); -- pass name of field */ do_action( 'bp_profile_header_meta' ); ?>
this changed to add profile field data "location":
<?php bp_member_profile_data( 'field=location’ ); do_action( 'bp_profile_header_meta' ); ?>
this code used gives me t_string error in return. have no php experience think it's easy fix, given wordpress developers practically spell out how use feature.
any appreciated.
the syntax highlighter shows error. have funky quote:
bp_member_profile_data( 'field=location’ ); <--here
change to:
bp_member_profile_data( 'field=location' );
Comments
Post a Comment