Support » Plugin: Social Sharing Buttons, Related Posts, Google Analytics - Shareaholic » How to change shareaholic META tags

  • Resolved Rob Goodwin


    WordPress is installed on a regular server, but I am hosting all my media/images on AWS S3. So every Featured image gets pushed to S3 instead of hosting locally on the site’s server.

    All is well, except that the META Tags Shareaholic auto-generates still show my attachment/image URL as being my local domain.

    This causes a problem because whenever I click a ‘share’ link, no images come through on the post teasers.

    My temporary solution is this (below), but a better solution would be much appreciated.

    WordPress 5.3
    Shareaholic Version 8.13.11


     //  /wp-content/plugins/shareaholic/public.php (line: 310)
      if ($thumbnail_src != NULL) {
             $thumbnail_src = str_replace('', '',$thumbnail_src );
            echo "<meta name='shareaholic:image' content='" . $thumbnail_src . "' />";
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.