Support » Plugin: ShareThis: Free Sharing Buttons and Tools » Code inserted directly on single.php

  • Hello,

    I have not installed the plugin but i have inserted the following code directly at the bottom of my single.php

    <script charset="utf-8" type="text/javascript">var switchTo5x=true;</script><script charset="utf-8" type="text/javascript" src=""></script><script type="text/javascript">stLight.options({publisher:"wp.356c2fb3-3132-4861-ab64-0a4d042a31b0"});</script><script charset="utf-8" type="text/javascript" src=""></script><script charset="utf-8" type="text/javascript">var options={ publisher:"wp.356c2fb3-3132-4861-ab64-0a4d042a31b0", "position": "left", "chicklets": { "items": ["facebook","twitter","linkedin","email","pinterest"] } }; var st_hover_widget = new sharethis.widgets.hoverbuttons(options);</script>

    This seems to work fine.. Do you think this will cause any problems?

    maraki x

Viewing 1 replies (of 1 total)
  • Hello Maraki,

    If the ShareThis widget is showing-up on your website then there is no issue in placing the code you mentioned in the single.php
    Please let us know if you face any issues with such implementation.

    [Signature moderated]

Viewing 1 replies (of 1 total)
  • The topic ‘Code inserted directly on single.php’ is closed to new replies.