WordPress.org

Ready to get started?Download WordPress

Forums

ShareThis: Share Buttons and Social Analytics
Code inserted directly on single.php (2 posts)

  1. Maraki
    Member
    Posted 1 year ago #

    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/

  2. sharethissupport
    Member
    Posted 1 year ago #

    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]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.