Hello,

I have a Facebook like button on my homepage and some individual pages. My code is:

<script src="https://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="http://www.mydomain.com<?=$_SERVER['REQUEST_URI']?>" layout="button_count" show_faces="false" width="100" action="like" font="arial"></fb:like>

However, the total count is different from homepage and individual pages. So, how do I add a total count to make it more attractive (I mean bigger number).

For example, homepage has 10 likes, individual pages have 10, can I add them up to make it 20 likes that show on everywhere of my site?

Thanks.

there is plug in, called "add this" it for sharing purpose that also give you stats of your share and like.

Remove the code and gain add the code that you want to applied.either you can add plugins that helps you alot.

There are plenty of free plugin available for it. we need not to worry about it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.