WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Church Pack] use of wpautop negates use of class 'person-bio

[Resolved] [Plugin: Church Pack] use of wpautop negates use of class 'person-bio

  • juggledad
    Participant

    @juggledad

    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Church Pack] use of wpautop negates use of class 'person-bio’ is closed to new replies.