WordPress.org

Ready to get started?Download WordPress

Forums

Simple Staff List
[resolved] no bio paragraphs on individual staff page (2 posts)

  1. esaner
    Member
    Posted 10 months ago #

    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/

  2. esaner
    Member
    Posted 10 months ago #

    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);

Reply

You must log in to post.

About this Plugin

About this Topic