WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. andrewsenter
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

    interesting. Thx for sharing <3

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic