WordPress.org

Support

Support » Plugins and Hacks » Hacks » FBShare and Tweet Button Mod

FBShare and Tweet Button Mod

  • I have a recent posts feed on my homepage that I have added the facebook share and tweet button widgets to using the following code from twitter.com and facebook.com:

    FBShare
    <a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

    Tweet
    <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

    The share buttons are present for each post in the recent posts feed. The problem I am having is when they are clicked, they share the homepage url and not the url of the respective recent post.

    My website is: josephsticca.com

    I want to know how to modify the code for the recent posts section of my homepage to do what I described above.

    Any help is appreciated, thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘FBShare and Tweet Button Mod’ is closed to new replies.
Skip to toolbar