생활정보/핀터레스트 Pinterest

티스토리 핀터레스트 핀잇 버튼 넣기 Pin It Button

문장전달자 2015. 12. 9. 13:09
728x90


꾸미기 > HTML/CSS 편집메뉴로 이동하여


/body 태그 앞에 아래 스크립트를 삽입하면 pin it 버튼이 포스팅 내 이미지 위에 생성된다.


1
2
3
4
5
6
7
8
9
10
11
<script type="text/javascript">
(function(d){
    var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT');
    p.type = 'text/javascript';
    p.async = true;
    p.src = '//assets.pinterest.com/js/pinit.js';
    f.parentNode.insertBefore(p, f);
}(document));
</script>    
</body>
</html>
cs







728x90