You can use Disqus for comments. You have to set DISQUS_SITENAME to Disqus site name identifier in configuration to enable comments.

That’s it. Elegant will take care of the rest.

You can see a working example of Disqus comments in this article.

Show Disqus comments by default

Just set DISQUS_SITENAME variable.

Hide Disqus comments by default

Unset DISQUS_SITENAME variable.

This is the default setting.

Hide Disqus comments by default. Show on Selected

  1. Set DISQUS_SITENAME
  2. Set DISQUS_FILTER to True

This will hide Disqus form on all pages.

Now to show Disqus form on selected posts, in article metadata set

disqus_filter: off

Show Disqus comments by default. Hide on Selected

  1. Set DISQUS_SITENAME
  2. Remove DISQUS_FILTER or set it to False which is its default value

This will hide Disqus form on all pages.

Now to hide Disqus form on selected posts, in article metadata set

disqus_filter: on

Like this post? Share on: TwitterFacebookEmail


Talha Mansoor Avatar Talha Mansoor is the creator and lead developer of Elegant theme.
Comments

So what do you think? Did I miss something? Is any part unclear? Leave your comments below.

comments powered by Disqus

Keep Reading


Published

Last Updated

Category

Connecting With Your Readers

Tags

Stay in Touch

Get New Release Alert