html 댓글 기능 추가⌨️

투박손·2021년 2월 27일
0

html

목록 보기
1/3

쉽고 빠르게 댓글 기능 구현하기!⌨️

  1. DISQUS 사이트 접속

  2. login

  3. I want to install Disqus on my site 클릭

  4. 하단 유니버셜 코드 클릭

  5. 관리자 페이지 접속

  6. 페이지 생성

  7. 사이트 닫는 </ body> 태그 앞에 아래 코드를 삽입

<div id="disqus_thread"></div>
<script>

/**
*  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
*  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://web1-2.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

  </p>

참조 사이트

profile
새싹 프론트엔드 개발자입니다.🌱

0개의 댓글