The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. esaner
    Posted 2 years 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?



  2. esaner
    Posted 2 years 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