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

Понравилась статья? Расскажите о ней на: TwitterFacebookEmail


Talha Mansoor is the creator and lead developer of Elegant theme

Что почитать


Дата

Категория

Connecting With Your Readers

Тэги

Будьте с нами