Title: $withcomments functionality missing from Disqus Comment System Plugin
Last modified: August 20, 2016

---

# $withcomments functionality missing from Disqus Comment System Plugin

 *  Resolved [andrewsenter](https://wordpress.org/support/users/andrewsenter/)
 * (@andrewsenter)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/withcomments-functionality-missing-from-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)

 *  [Moogle Stiltzkin](https://wordpress.org/support/users/moogle-stiltzkin/)
 * (@moogle-stiltzkin)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/withcomments-functionality-missing-from-plugin/#post-2170190)
 * interesting. Thx for sharing <3

Viewing 1 replies (of 1 total)

The topic ‘$withcomments functionality missing from Disqus Comment System Plugin’
is closed to new replies.

 * ![](https://ps.w.org/disqus-comment-system/assets/icon.svg?rev=1636350)
 * [Disqus Comment System](https://wordpress.org/plugins/disqus-comment-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disqus-comment-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disqus-comment-system/)
 * [Active Topics](https://wordpress.org/support/plugin/disqus-comment-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disqus-comment-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disqus-comment-system/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Moogle Stiltzkin](https://wordpress.org/support/users/moogle-stiltzkin/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/withcomments-functionality-missing-from-plugin/#post-2170190)
 * Status: resolved