WordPress.org

Ready to get started?Download WordPress

Forums

Church Pack
[resolved] use of wpautop negates use of class 'person-bio (2 posts)

  1. juggledad
    Member
    Posted 2 years ago #

    This plugin attempts to wrap the 'bio' of a person in a
    <p class="person-bio"><?php echo wpautop($person_bio); ?></p>
    However the use of the use of the wpautop() function (line 213 and possibly elsewhere) causes the result to be

    <p class="person-bio"></p>
    <p>this is a test bio</p>
    <p></p>

    which negates the usefulness of the class for styling.

    also it seems moving that line to just after line 191
    <h3 class="person-title"><?php echo $person_title; ?></h3>
    makes the bio show inline with the image and makes it look a lot better.

    http://wordpress.org/extend/plugins/church-pack/

  2. Jack (wpforchurch)
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for pointing this out. I changed it to <div class="person-bio"> in the next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic