Support » Plugin: WooCommerce » Social Sharing stopped working…

  • So, last night I migrated my site from a Go Daddy hosting account to a new SIte5 hosting account (which they have been excellent support so far) and everything seems to be working as it was, except the Social Sharing option on each of my products. It was working in all my browsers, last night before the migration. Now, the icons showing are not “links” – meaning you cannot click on them, they don’t do anything.

    Is there something that I am missing? Is my code bad? Do I need to turn something on in the Admin section? Any ideas?

    Here is the code that I have added to the single-product.php file in the WooCommerce directory. Just after line 34:

    <!--SOCIAL SHARE-->
    <div class="socialshare">
      <h4>Share this:</h4><ul>
      <li><a href="#"
        return false;"class="facebook"><img src="" title="Share on Facebook" alt=""></a></li>
      <li><a href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;;+Math.random()*99999999);document.body.appendChild(e)%7D)());'><img src=''/></a></li>
      <li><a href="" class="twitter" data-via="rcards" data-hashtags="rcards,greetingcards,chicago" width=626 height=436>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+'://';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script><img src="" title="Share on Twitter" alt=""></a></li>

    RIght after this code is the last line of code: <?php get_footer(‘shop’); ?>

    Any ideas would be greatly appreciated!


Viewing 1 replies (of 1 total)
  • UPDATE: The Social Sharing code works in Firefox.

    The code does not work (since the move to the new hosting provider) in Safari and Chrome. Newest versions of all browsers on Mountain Lion. It also does not work on Safari and Chrome browsers on iPhone or Android.

    Usually my Firefox is the one that doesn’t do stuff. haha Anyone have any ideas?


Viewing 1 replies (of 1 total)
  • The topic ‘Social Sharing stopped working…’ is closed to new replies.