WordPress.org

Forums

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

  1. esaner
    Member
    Posted 1 year 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 1 year 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);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Staff List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic