Support » Plugin: Wordbooker » [Plugin: Wordbooker] Share button adds

  • 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?

Viewing 1 replies (of 1 total)
  • Plugin Author Steve

    (@steveatty)

    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

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Wordbooker] Share button adds’ is closed to new replies.