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: 43
Joined: Mon Sep 04, 2017 3:51 pm

Share This HTML

Post by Angelicnorth » Tue Dec 12, 2017 1:47 pm

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: 16828
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Share This HTML

Post by Pablo » Tue Dec 12, 2017 2:38 pm

Based on the code it looks like this will not work in preview.
Did you publish the page?

Angelicnorth
 
 
Posts: 43
Joined: Mon Sep 04, 2017 3:51 pm

Re: Share This HTML

Post by Angelicnorth » Tue Dec 12, 2017 6:05 pm

Hi Pablo

I have just published the site and it is still not showing

User avatar
BaconFries
 
 
Posts: 4113
Joined: Thu Aug 16, 2007 7:32 pm

Re: Share This HTML

Post by BaconFries » Tue Dec 12, 2017 6:24 pm

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: 43
Joined: Mon Sep 04, 2017 3:51 pm

Re: Share This HTML

Post by Angelicnorth » Tue Dec 12, 2017 6:35 pm

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: 16828
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Share This HTML

Post by Pablo » Tue Dec 12, 2017 7:25 pm

What is the URL of the page so I can see what you have done?

Angelicnorth
 
 
Posts: 43
Joined: Mon Sep 04, 2017 3:51 pm

Re: Share This HTML

Post by Angelicnorth » Tue Dec 12, 2017 9:12 pm

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: 16828
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Share This HTML

Post by Pablo » Tue Dec 12, 2017 9:29 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest