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

  1. juggledad
    Posted 4 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>

    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.


  2. WP for Church
    Plugin Author

    Posted 4 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