Skip to:
Content
Pages
Categories
Search
Top
Bottom

Help please. Display Profile field with linebreaks and returns.


  • perywinkle
    Participant

    @perywinkle

    I’ve been playing around with adding fields for the member-header.php file. as well as a custom profile page.

    When I go to display ‘Bio’ ( with paragraphs, with line breaks etc. )
    it shows up as a blob of text with out the line breaks.
    Then when I go to edit the field – it displays with all returns and line breaks in tact.

    How do I display / output this field with the line breaks in tact?

    This is what I’m using in a modified profile-loop.php file:

    <div class="bio profile-field">
    <h3 class="profile">Biography</h3>
    </div>

    Thanks for any tips!

Viewing 1 replies (of 1 total)

  • perywinkle
    Participant

    @perywinkle

    This seems to happen in the regular profile loop output too.
    I’m looking around for ways to have the profile fields
    ‘respect’ line breaks or carriage returns….

Viewing 1 replies (of 1 total)
  • The topic ‘Help please. Display Profile field with linebreaks and returns.’ is closed to new replies.
Skip to toolbar