From 3455920083f3f089c217e565cab4e236572dc4d7 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 18 May 2016 10:55:28 -0400 Subject: [PATCH] added shareThis script --- js/app.js | 8 ++++++++ js/custom/shareThis.js | 8 ++++++++ parts/bread-crumbs.php | 1 + 3 files changed, 17 insertions(+) create mode 100644 js/custom/shareThis.js diff --git a/js/app.js b/js/app.js index 1481ce2..dcea86c 100644 --- a/js/app.js +++ b/js/app.js @@ -31,3 +31,11 @@ $(document).ready(function () { //console.log('menu-id = ' + menuNum); }); }); +;$(document).ready(function () { + var switchTo5x=true; + $.getScript("http://w.sharethis.com/button/buttons.js", function() { + console.log("success"); + }); + stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"}); + var st_type="wordpress4.3.1"; +}); \ No newline at end of file diff --git a/js/custom/shareThis.js b/js/custom/shareThis.js new file mode 100644 index 0000000..0d5db19 --- /dev/null +++ b/js/custom/shareThis.js @@ -0,0 +1,8 @@ +$(document).ready(function () { + var switchTo5x=true; + $.getScript("http://w.sharethis.com/button/buttons.js", function() { + console.log("success"); + }); + stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"}); + var st_type="wordpress4.3.1"; +}); \ No newline at end of file diff --git a/parts/bread-crumbs.php b/parts/bread-crumbs.php index 7603ea0..0c0771a 100644 --- a/parts/bread-crumbs.php +++ b/parts/bread-crumbs.php @@ -1,3 +1,4 @@ +'; ?> "; -- 2.17.1