Disqus is a blog comment hosting service for the website. It’s a very useful and interactive tool to make a website alive. It’s an American company who is maintaining this service. To add this service in your Google site page fellow this article.
- Go to the Disqus website and sign in.
- Now, go to the Universal Code and copy it.
- Now, select embed option from the insert panel and then go to embed code division of the dialogue box appeared.
- Paste the code copied and now edit it. Remove the comments and add your site’s URL and Identifier in the code.
HTML
<!DOCTYPE html> < html >
< head >
< title >Page Title</ title >
< div id = "disqus_thread" ></ div >
< script >
var disqus_config = function () {
// Replace PAGE_URL with your page's
// canonical URL variable
this.page.url = PAGE_URL;
// Replace PAGE_IDENTIFIER with your
// page's unique identifier variable
this.page.identifier = PAGE_IDENTIFIER;
};
(function () {
// REQUIRED CONFIGURATION VARIABLE:
// EDIT THE SHORTNAME BELOW
var d = document, s = d.createElement('script');
// IMPORTANT: Replace EXAMPLE with
// your forum shortname!
s.src = 'https://EXAMPLE.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</ script >
< noscript >Please enable JavaScript to view the
comments powered by Disqus.
</ a >
</ noscript >
</ head >
< body >
< h2 >Welcome To GFG</ h2 >
< p >Default code has been loaded into the Editor.</ p >
</ body >
</ html >
|
- Now hit next button then insert the code. The website will look like:
Article Tags :