WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
Share button adds (2 posts)

  1. pnaw10
    Member
    Posted 3 years ago #

    Seems that Wordbooker is adding extra "blank lines" to the HTML code for my pages at http://www.cnyradio.com.

    On my homepage or other multi-post pages, the beginning of the article is supposed to be "flush" with the left-aligned images which accompany most articles. But lately, I've noticed the text is down a line or two.

    When I deactivate Wordbooker, the text moves back up a line, and that extra <p> is gone.

    Upon inspecting the wordbooker.php file and searching for all instances of <p> I found that the culprit appears to be in line 2043.

    $post_cont2= '<p><br /></p><div>'.$like_code.'<div style="float:right;">'.$share_code.'</div></div>'.$post_cont;

    By removing the section <p><br /></p> and reloading my page, I noticed the extra blank line is gone. There does not appear to be any adverse affect as a result of making this change. Any chance this can be permanently removed in the next release, or am I going to need to manually find it and delete it every time there's an upgrade?

  2. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    V2 will use CSS to format the space round the buttons. Its needed for quite a lot of themes to stop the buttons running into the header or into the body text

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags