FBShare and Tweet Button Mod (2 posts)

  1. jsticca
    Posted 5 years ago #

    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:

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

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

  2. levi-levi
    Posted 5 years ago #

    Hi jsticca,

    Is your problem already solved?
    Which plugins are you using for facebook & twitter?

Topic Closed

This topic has been closed to new replies.

About this Topic