Applying "Addthis" Share Buttons

  • Unknown's avatar

    I’m trying to embed the following code into the CSS field:

    <!– AddThis Button BEGIN –>
    <div class=”addthis_toolbox addthis_floating_style addthis_32x32_style” style=”left:50px;top:50px;”>





    </div>
    <script type=”text/javascript”>var addthis_config = {“data_track_addressbar”:true};</script>
    <script type=”text/javascript” src=”//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-527fa9586576dfd2″></script>
    <!– AddThis Button END –>

    Unfortunately, the code, when I hit “Save” after pasting it reverts to
    var addthis_config = {ra-530d45327cc6c7e1:true};
    and the original disappears leaving with me just this.

    Am I capable of adding “Addthis” buttons to further my outside analytics?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I believe I failed to mention that the buttons do not show up (suppose to show up on the left hand side of the site after pasting the code and saving.

  • Unknown's avatar

    Hi there, that code you reference contains javascript, and javascript is not allowed at this time on WordPress.com.

    Also, you cannot add code to the CSS. CSS is a styling document used by the browsers to position and style the elements of a web page.

    WordPress offers a nice compliment of sharing buttons which you can read more about in this support document, and even allows for adding your own services as well.

    We also offer a facebook like box widget which can be added to your sidebar by going to Appearance > Widgets in your dashboard and then dragging it into your sidebar and then configuring it.

    For adding social media buttons/links to your sidebar, you can insert them into a text widget in your sidebar. The following two links will get you started with that.

    Text Widget
    Text Widget Links

  • Unknown's avatar

    Thank you, I appreciate your response and I’m now more informed!

    Cheers

  • Unknown's avatar

    You are welcome and if you have any more questions or run into problems, just let us know.

  • The topic ‘Applying "Addthis" Share Buttons’ is closed to new replies.