WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Button Code liking whole page instead of individual posts (1 post)

  1. jesn24
    Member
    Posted 4 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic