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
- Set
DISQUS_SITENAME
- Set
DISQUS_FILTER
toTrue
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
- Set
DISQUS_SITENAME
- Remove
DISQUS_FILTER
or set it toFalse
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