Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,907
- Requests & Feedback
- 9,550
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
For some reason this line
if ( $data = bp_get_profile_field_data( 'field=Musical Genre' ) ) :
echo '<div class="mdetcenter genre">'. xprofile_get_field_data( 'Musical Genre', bp_displayed_user_id() ) .'</div>';
endif;
Is not printing the div class, it’s just printing the values. I’ve tried to create a new field, first renaming the previous and recreating the new with the same name “Musical Genre” but I’m not getting and <div class=”…. to print. @danbp any ideas?