Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Line breaks in profile fields descriptions not showing

@applegateian

Participant

Thanks for the pointer @henrywright – I’ve tried a few executions but can’t seem to generate the breaks/p tags that are needed.

Here is an example of where I am seeing the problem with profile fields – is there a way within the text that is outputted to enable wpautop? Thanks…

	<div class="keyPeople">
		<?php 
		if (bp_get_profile_field_data('field=Key People') == "") :
		echo '';
else:
// display code
		$data=bp_get_member_profile_data(array('field'=>'Key People'));
		echo '<h3>Key People</h3>';
		echo $data; 
endif;
		?>
	</div>	
Skip to toolbar