Share This HTML

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
Angelicnorth
 
 
Posts: 4
Joined: Mon Sep 04, 2017 3:51 pm

Share This HTML

Post 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
User avatar
Pablo
 
Posts: 21571
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Share This HTML

Post by Pablo »

Based on the code it looks like this will not work in preview.
Did you publish the page?
Angelicnorth
 
 
Posts: 4
Joined: Mon Sep 04, 2017 3:51 pm

Re: Share This HTML

Post by Angelicnorth »

Hi Pablo

I have just published the site and it is still not showing
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: Share This HTML

Post 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.
Angelicnorth
 
 
Posts: 4
Joined: Mon Sep 04, 2017 3:51 pm

Re: Share This HTML

Post 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
User avatar
Pablo
 
Posts: 21571
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Share This HTML

Post by Pablo »

What is the URL of the page so I can see what you have done?
Angelicnorth
 
 
Posts: 4
Joined: Mon Sep 04, 2017 3:51 pm

Re: Share This HTML

Post 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?
User avatar
Pablo
 
Posts: 21571
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Share This HTML

Post 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.
Post Reply