WordPress.org

Ready to get started?Download WordPress

Forums

ShareThis: Share Buttons and Social Analytics
Share Posts Images (2 posts)

  1. fmonserrate
    Member
    Posted 1 year ago #

    Hello,

    I can't share images on posts, just the images....

    I have this code on "Click to view/modify the HTML tags"

    <span class='st_fblike' st_title='<?php the_title(); ?>' st_url='<?php the_permalink(); ?>' displayText='fblike'></span>

    I think i need to use "span tag" st_image...but how i do to make the relations with posts?

    Someone can help me please?

    Best Regards

    http://wordpress.org/extend/plugins/share-this/

  2. sharethissupport
    Member
    Posted 1 year ago #

    Hello User,

    Please note that Facebook crawls information that is to be shared via FB like/recommend/Send buttons. They do this via meta tags.
    In order to specify the image to be shared according to your liking, you will have to add open graph tags .
    Just add og tag as:
    <meta property="og:image" content="URL OF IMAGE" />
    in the header of each page of your site.
    This will solve your issue.

    For more info about og tags, you can visit the page:
    http://support.sharethis.com/customer/portal/articles/475079-share-properties-and-sharing-custom-information#Open_Graph_Tags

    [ Signature moderated. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic