WordPress.org

Support

Support » How-To and Troubleshooting » Button Code liking whole page instead of individual posts

Button Code liking whole page instead of individual posts

  • I have added FB Like, Tweet and Google Plus buttons on my content.php. The problem is if you click like or tweet it shares the whole page instead of the individul blog post. Is there a way to tweak the code so it can share the individual post?

    The code I’m using is:

    <!-- 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 -->

    Any help would be appreciated.

    Thanks!

  • The topic ‘Button Code liking whole page instead of individual posts’ is closed to new replies.