Webanizr Logo
Open / sluit menu
Module disqus

The disqus module adds the DIsqus comments widget to your website.

syntax

webanizr.send('disqus', data, parameters, callback);

data

The data is passed unaltered to the callback function.

parameters

The disqus modue accepts the followin parameters:

id__dom (required)

The id of the node that will function as a wrapper for the comments.

url__page (optional)

The canonical url of the page. If this parameter is not suplied the current url in the browser is used (not recommended).

id__page (optional)

A unique id for this page to ensure that the correct comments are loaded. If not set, the value of url__page will be used.

callback

The callback is called directly after the adding the disqus widget and receives the data unaltered.

demo

https://cdn.cpmodules.webanizr.com/demo/disqus/index.html