WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
Extra break between Like button and body of post (6 posts)

  1. applekoolaid
    Member
    Posted 3 years ago #

    After upgrading to WordPress 3.1 RC2 and upgrading the plugins, I now have an extra break between the Facebook Like button and the text from my posting. I removed both Twitter share and Facebook like buttons and determined it is the Facebook Like button. My blog is adamparnes.com. Any suggestions? Thanks!

    Adam

  2. applekoolaid
    Member
    Posted 3 years ago #

    I moved the facebook like button after the post and still have the same break between the next content item.

    Thanks!

    Adam

  3. applekoolaid
    Member
    Posted 3 years ago #

    I think I figured out what's going on. The new faces function takes up space below the like button. Until the button uses the new library and has an if statement, I had to manually change the like button faces toggle to false. I'll have to update once the libraries are changed. Is there an ETA of when the plugin will switch to the new libraries? Cool function.

  4. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    Actually, the current library shows the faces just fine. I see faces on my sites. You don't need the new libraries for that.

    Note that you only see faces of your friends who also liked the post.

  5. applekoolaid
    Member
    Posted 3 years ago #

    Thanks for the quick reply Otto. The problem I'm having is that if no one likes or recommends your posting, there's a big gap between the button and the rest of the content where the faces would be displayed. Is there way to add an if then statement and only require the additional space if there are faces to display? Otherwise, there will always be around 40 extra pixels beneath the button if it isn't shared or liked. I fixed the gap by make faces false and changing the 65 pixels for the SFC Like plugin to 25 pixels. It's rather crude.

    Thanks,

    Adam

  6. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    Unfortunately, no. The way FB's code works is by using an iframe to show the like button, and the iframe has to have a size. Even if you used their newer Javascript stuff, all that really does is to replace the fb:like code with the iframe in the DOM using Javascript, so it has much the same effect.

    So basically, you have to pick a size.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic