WordPress.org

Support

Support » Plugins and Hacks » [Resolved] no bio paragraphs on individual staff page

[Resolved] no bio paragraphs on individual staff page

  • esaner
    Participant

    @esaner

    I’ve created a single-staff-member.php post template, but when viewing individual staff pages paragraph breaks won’t show in their bios.

    I can get them to show by manually adding <p> tags in the staff bio wysiwyg editor in Text mode and updating the post. But if I switch the editor to Visual mode and update the post the paragraphs no longer appear on the front end page (though they still appear in the wysiwyg editor) and the <p> tags are removed if I switch back to Text mode.

    Does anyone else have this problem? Anyone know of a fix?

    Thanks.

    http://wordpress.org/plugins/simple-staff-list/

Viewing 1 replies (of 1 total)
  • esaner
    Participant

    @esaner

    Fixed this by adding apply_filters to the $bio echo in single-stff-member.php. Now it looks like this:

    echo apply_filters( ‘the_content’, $bio);

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] no bio paragraphs on individual staff page’ is closed to new replies.