Forums

[resolved] Facebook & Twitter share buttons? (5 posts)

  1. Gbn1
    Member
    Posted 3 months ago #

    Hi guys.

    I have added my own Facebook, Twitter and Comment share buttons to the end of each post (by adding code into header.php loop).

    The links work, all 3 small buttons are images with a=href links.

    But on posts below the above post, the post title and random areas of space all also refer to the facebook share link when clicked?

    http://recognisethemovement.com/

    If you could have a look & please let me know what's possibly wrong if you could- thanks!

  2. Gbn1
    Member
    Posted 3 months ago #

    Anyone?

  3. Christine
    Moderator
    Posted 3 months ago #

    Your code looks broken. If you open up your site in Firefox and look at the source any red type indicates an error.

    I currently see this:

    <a href="http://twitter.com/home?status=http://recognisethemovement.com/713/&t=Recognise The Movement Under Construction" target="_blank"><img src="http://recognisethemovement.com/wp-content/uploads/2012/02/twitter.jpg"</a>
    <a href="http://recognisethemovement.com/713/#comments">
    
        <img src="http://recognisethemovement.com/wp-content/uploads/2012/02/comment.jpg"
    </a>
    <a href="http://www.facebook.com/sharer.php?u=http://recognisethemovement.com/713/&t=Recognise The Movement Under Construction" target="_blank"><img src="http://recognisethemovement.com/wp-content/uploads/2012/02/Facebook.jpg"</a>

    You need to close your image tags.

  4. Gbn1
    Member
    Posted 3 months ago #

    Hi Christine, thanks for the suggestion.

    I tried this but it didn't work, are there any other possibilities?

  5. Gbn1
    Member
    Posted 3 months ago #

    [resolved]: it was due to the post-title not having a URL.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.