[Resolved] Display an excerpt of a profile field (Bio)
I am modifying my members-loop.php to display some additional profile fields. I want to show the “Bio” field, however I want to limit the length of it to make an excerpt.
Here’s what I currently have:
<span class="short-bio"><?php echo bp_member_profile_data('field=Bio...'); ?></span>
How can I make it so that it only displays a certain length of it (like 200 characters or something)?
- The topic ‘[Resolved] Display an excerpt of a profile field (Bio)’ is closed to new replies.