Permalink
Browse files

add Social button using Autotag plugin -2

change language id: data-lang="ja"
Autoga plugin add 'domain' set your domain

Twitter JS
see more
https://dev.twitter.com/web/tweet-button
  • Loading branch information...
ivywe committed Dec 31, 2015
1 parent 81f6c0e commit 144634e42e9c42aff1cb5bcf83f08144c73bc268
Showing with 18 additions and 0 deletions.
  1. +18 −0 default/footer.thtml
@@ -33,6 +33,24 @@ $.UIkit.modal('#gl-login').show();
});
</script>

<script>window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);

t._e = [];
t.ready = function(f) {
t._e.push(f);
};

return t;
}(document, "script", "twitter-wjs"));</script>


<!-- Depending on the situation, HTML body element's class attribute to specify a value by JavaScript
The argument from the left, the right block container, the middle block left the right block id attribute value -->
<script type="text/javascript">

0 comments on commit 144634e

Please sign in to comment.