• 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="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:"wp.356c2fb3-3132-4861-ab64-0a4d042a31b0"});</script><script charset="utf-8" type="text/javascript" src="http://s.sharethis.com/loader.js"></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?

    thanks
    maraki x

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

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.