Page 1 of 1
Share This HTML
Posted: Tue Dec 12, 2017 1:47 pm
by Angelicnorth
Hello
From "share this" website
I have opened the site HTML and added the coding below to section: between <head> </head> tags*
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=5a2fd3c70f16c70012a3c263&product=inline-share-buttons"></script>
I have added HTML section on the page and added the coding below to section the section: between <head> </head> tags*
<div class="sharethis-inline-share-buttons"></div>
This is not working any one have any ideas what I am doing wrong?
Thanks in advance
Re: Share This HTML
Posted: Tue Dec 12, 2017 2:38 pm
by Pablo
Based on the code it looks like this will not work in preview.
Did you publish the page?
Re: Share This HTML
Posted: Tue Dec 12, 2017 6:05 pm
by Angelicnorth
Hi Pablo
I have just published the site and it is still not showing
Re: Share This HTML
Posted: Tue Dec 12, 2017 6:24 pm
by BaconFries
Place the following in Page HTML between the <head></head>
Code: Select all
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=5a2fd3c70f16c70012a3c263&product=inline-share-buttons"></script>
Using the HTML Object insert the following and place on page were you wish.
Code: Select all
<div class="sharethis-inline-share-buttons"></div>
Maybe you have enabled minify in the HTML options: Tools->Options->HTML. If so please uncheck as this may stop the js working. Note if this doesn't work then please confirm that the code/script is valid.
Re: Share This HTML
Posted: Tue Dec 12, 2017 6:35 pm
by Angelicnorth
Hi bacon Fries
I have tried what you said, still not working, the HTML is set to default, I am assuming the code is correct as I have copied and pasted from "share this" Website, but I am not sure, I will need to check this.
Thanks
Re: Share This HTML
Posted: Tue Dec 12, 2017 7:25 pm
by Pablo
What is the URL of the page so I can see what you have done?
Re: Share This HTML
Posted: Tue Dec 12, 2017 9:12 pm
by Angelicnorth
Hi Pablo
I have not uploaded my site yet, how can I upload to my host do I need to publish the site then upload via filezilla to my host?
Re: Share This HTML
Posted: Tue Dec 12, 2017 9:29 pm
by Pablo
You wrote:
I have just published the site and it is still not showing
And now:
I have not uploaded my site yet,
You will need to publish your website to a web server because I think otherwise the code will not work.
It looks like the code you are using was designed to be used online.
Note that this has nothing to do with WWB.