Support » Fixing WordPress » Like buttons liking whole page instead of individual posts

  • Hello,

    I am trying to manually put in facebook like, tweet and google plus one buttons. I have put them in my content.php theme and content-single.php.
    On the main page of my blog if you like something it will like the whole page instead of the individual post. If you like it on the post’s link it will like the post as I intended it to be.

    Here is the code I am using for the buttons:
    <!– AddThis Button BEGIN –>
    <div class=”addthis_toolbox addthis_default_style “>



    </div>
    <script type=”text/javascript” src=”http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff5c0d418c8201f”></script>
    <!– AddThis Button END –>

    Is there anything I can do to the code in my content.php file to make the buttons like the individual posts instead of the whole page?

    Thanks for any help you can provide.

Viewing 1 replies (of 1 total)
  • <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
    <a class="addthis_button_tweet"></a>
    <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff5c0d418c8201f"></script>
    <!-- AddThis Button END -->
Viewing 1 replies (of 1 total)
  • The topic ‘Like buttons liking whole page instead of individual posts’ is closed to new replies.