WordPress.org

Support

Support » Plugins and Hacks » Disqus Comment System » [Resolved] $withcomments functionality missing from Disqus Comment System Plugin

[Resolved] $withcomments functionality missing from Disqus Comment System Plugin

  • For those who utilise the $withcomments functionality to display comments on pages that are not singles, the current version of the plugin does not support this.

    To fix it, change line 701 in plugins/disqus-comments-system/disqus.php to:

    if ( !(is_singular() && (have_comments() || 'open' == $post->comment_status)) && !isset($withcomments) ) {

    … and add global $withcomments; to the list of globals for the dsq_comments_template function.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] $withcomments functionality missing from Disqus Comment System Plugin’ is closed to new replies.
Skip to toolbar