Jump to content

Where to Paste AddThis code?


Recommended Posts

I just got some code from AddThis.com which will add social media buttons around my site, they say "Copy and paste the code below anywhere in your page. Each layer will automatically appear in the right place. Want to customize?"

But I'm not sure where to paste it.

 

Do I paste it in a file in the hosting "File Manager" if so what file, and what spot?

 

I tried pasting it in a html code module, but that didn't work...please help.

 

Thanks in advance!!

Link to comment
Share on other sites

everything depends on where you want to display these buttons,

so can you please shed some more light on this problem?

 

Umm... it's going to be in multiple spots, some on the top and some on the side that hover.

 

It says that they will go where they need to go, you just have to paste the html code into your website, and I don't know where to paste it.

 

I hope that helps you out a little bit, thanks for the time and help :)

Link to comment
Share on other sites

what code you've got to paste? can you show it please?

 

Sorry for the late reply, and thanks for getting back to me!

 

Here's the code:

 

<!-- AddThis Smart Layers BEGIN -->

<!-- Go to http://www.addthis.com/get/smart-layers to customize -->

<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52d30f121f2036b1"></script>

<script type="text/javascript">

  addthis.layers({

    'theme' : 'transparent',

    'share' : {

      'position' : 'left',

      'numPreferredServices' : 5

    },

    'follow' : {

      'services' : [

        {'service': 'facebook', 'id': 'facebook.com/woudlers'},

        {'service': 'twitter', 'id': 'twitter.com/woudlers'},

        {'service': 'pinterest', 'id': 'pinterest.com/woudlers'}

      ]

    }, 

    'whatsnext' : {} 

  });

</script>

<!-- AddThis Smart Layers END -->

Link to comment
Share on other sites

Good morning

 

Perhaps the easiest way to achieve what you require is to download the Free HTML box from HERE

 

And then add the code to this, please see links below

 

http://gyazo.com/b28e9a45a8b3f98f0f8d6f69c53102c2

 

Live link

 

Hope this helps

 

Paul

 

Thanks for the suggestion, but I tried it and it didn't work...

 

I don't know if you got it to work, if you did please tell me how you did it!

 

I downloaded the HTML Module like you said, pasted my code in, and checked the left column in the modules configuration but it's still not showing up.

 

Thanks again for the help :)

Link to comment
Share on other sites

Usually, I place addthis buttons in the product page. You can use vekia's html box or edit product.tpl (theme folder) and paste the code, for example, right after the h1 tag with the product name

 

Would that only show the share/follow buttons on the product page or would it display site wide??

 

I want to make that be displayed throughout the whole site, do you have any idea of what folder to paste it into or where to paste it to do that?

 

Thanks

Link to comment
Share on other sites

Thanks for the suggestion, but I tried it and it didn't work...

 

I don't know if you got it to work, if you did please tell me how you did it!

 

I downloaded the HTML Module like you said, pasted my code in, and checked the left column in the modules configuration but it's still not showing up.

 

Thanks again for the help :)

 

Wow thanks for the very speedy reply...

 

In the module "configuration" I changed the Placement from the left side bar to the header and now it works great!! Thanks

 

SOLVED

Link to comment
Share on other sites

×
×
  • Create New...