• Hi,

    I’m using the Facebook Like box_count button in a floating share box. Right now, the likes are all for the home page, so the same number of likes shows up for each post.

    1. How can I make the like box record for each single post.
    2. Is there a way for those likes to show up on my fan page?

    https://astrofix.net/
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m not sure that I understand the question. I don’t see the floating share box on the homepage but I do see it on single pages. And then I don’t see any other like buttons aside from the one in the share box.

    Essentially so long as they have different URLs associated with each button they should be fine. The one for the home page with the URL pointing to the home page. The ones for posts with permalinks to the posts. The only thing I can think of that would be causing them to display the same counts is that the URLs are off somewhere.

    Hope that helps but without seeing it or understanding it better that’s about all that I can offer at the moment.

    Thanks,
    Travis Ballard

    Thread Starter astrofix

    (@astrofix)

    Hi Travis,

    Thank you so much for your reply. You are right, the floating share box is only on the single pages, and the only like button is in the floating share box. Despite having the like box_count layout on the single pages, it continues to total all of the likes from all of the pages.

    Do you know what code I need to add to get the like box to pull the permalink from the individual posts?

    Here is the code I am using right now:

    <iframe src="https://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=box_count& amp;show_(faces=false&width=350&action=like&colorscheme=light& amp;font=arial" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:visible; width:55px; height:65px;"></iframe>

    Thank you,
    Michelle

    Hey Michelle,

    Are you entering the code manually or using my fblike plugin? It seems as if you’re entering it manually which is fine and the code you are using should cover it. Can you link me to a page where it’s being used? now I’m seeing some woo-fblike plugin on single pages instead of the floating box.

    Thanks,
    Travis Ballard

    Hi AstroFix,

    I noticed on the original link you provided that your issue seems to be fixed. Could you share how you were able to get it to work as I am having the same issue.

    Thanks!!

    Thread Starter astrofix

    (@astrofix)

    I’m not using the floating share box anymore, however, if you use

    '.get_permalink($post->ID).'

    as the URL to like, it should link to each individual post rather than to the home page.

    Thanks for the quick response!

    It’s still not working for me though. Now I’m suddenly getting a high number of “likes”, but once again the same number on all the posts.

    I’m at a complete loss. I’m open to any other suggestions if anyone has any, other than using a plugins.

    thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Facebook Like box_count button- link to single posts/have like show on fan page?’ is closed to new replies.