Disqus Comment System
[resolved] $withcomments functionality missing from Disqus Comment System Plugin (2 posts)

  1. andrewsenter
    Posted 5 years ago #

    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.

  2. Moogle Stiltzkin
    Posted 4 years ago #

    interesting. Thx for sharing <3

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Disqus Comment System
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic