
Adding Disqus Recent Comments Widget to Blogger
You can add this widget code inside any text/html block inside your blog.
- Go to Blogger >> Layout
- Click on Add a Gadget
- Choose the HTML/JavaScript widget
- Now add it anywhere you like on your blog
Now copy and paste the following code inside the HTML/JS widget.
The code above contains a URL. You need to change the text in bold with your own domain name (yourdomain.disqus.com).
Configuration
After the ? in the URL, you can see a bunch of parameters. These are used to customize the functionality of the widget. Here is a brief description for each of them.
- num_items - Number of comments to show in the widget
- hide_mods - Hide moderators' comments (1 for hidden, 0 for disabled)
- hide_avatars - Hide display images (1 for hidden, 0 for shown)
- avatar_size - Avatar size in pixels (32 by default)
- excerpt_length - Character-length of the excerpt (1000 by default)
Styles
If you want, you can customize the looks of this widget as well. Here are some sample CSS rules;Enjoy this high-quality and fast-loading widget from Disqus :)
0 comments:
Post a Comment