Title: Plugin overrides WP&#039;s  No Comment policies
Last modified: August 21, 2016

---

# Plugin overrides WP's No Comment policies

 *  [webslugger](https://wordpress.org/support/users/webslugger/)
 * (@webslugger)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-overrides/)
 * Facebook plugin is violating WordPress programming conventions – it overrides
   WP’s no comments allowed settings. When I have no comments allowed on my site
   it adds a “Leave a Reply” box at the bottom of a static front page even though
   I have followed all of the settings to not allow comments. The Facebook reply
   boxes appear as wanted on every other page, however when I disable all of my 
   plugins, and then activate just the Facebook plugin it adds the “Leave a Reply”
   box at the bottom of the home page
 * [http://wordpress.org/plugins/facebook/](http://wordpress.org/plugins/facebook/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [webslugger](https://wordpress.org/support/users/webslugger/)
 * (@webslugger)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-overrides/#post-4119211)
 * what I want is to allow only facvebook comments on the site, and not have people
   log in to leave comments – I assume that this is supposed to be possible with
   this plugin
 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-overrides/#post-4119327)
 * The Facebook Comments Box social plugin displays existing comments and solicits
   new comments via JavaScript loaded on the client browser. Comments are sorted
   in social order by default, surfacing a comment from your friend or a comment
   with a lot of Likes before a comment from a stranger.
 * WordPress separates the display of comments from the solicitation of new comments:
   [have_comments](http://codex.wordpress.org/Function_Reference/have_comments) 
   vs. [comments_open](http://codex.wordpress.org/Function_Reference/comments_open).
   The `have_comments` function looks for a comments count; the Facebook plugin 
   for WordPress loads this comments count from Facebook servers based on the current
   state of comment submissions and admin approvals (if comments moderated). If 
   you have comments to display then the Comments Box will be rendered by default
   to display those comments and, in the process, solicit new comments.
 * If you have no comments count you should see an empty `div#comments`, matching
   [the behavior of Twenty Thirteen](http://core.trac.wordpress.org/browser/tags/3.6.1/wp-content/themes/twentythirteen/comments.php#L20),
   [Twenty Twelve](http://core.trac.wordpress.org/browser/tags/3.6.1/wp-content/themes/twentytwelve/comments.php#L24),
   etc.
 * If you would like more control over listing existing comments when comments are
   not open without using the Facebook Comments Box social plugin take a look at
   the `style` value of the arguments array passed through the `facebook_wp_list_comments`
   filter and return an empty string for the `facebook_comments_wrapper` filter.
 * The [string “Leave a Reply” does not exist in the Facebook plugin for WordPress](https://github.com/facebook/wordpress/search?q=Leave+a+Reply).
   The Facebook Comments Box social plugin is added to the page by overriding [comments_template](http://codex.wordpress.org/Function_Reference/comments_template);
   check your theme code for a header declared outside of its comments template.
 *  Thread Starter [webslugger](https://wordpress.org/support/users/webslugger/)
 * (@webslugger)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-overrides/#post-4119343)
 * It is not the theme I am using, the same thing happens when I activate twenty
   ten or twenty thirteen – the problem seems to be in the Facebook plugin itself
 *  Thread Starter [webslugger](https://wordpress.org/support/users/webslugger/)
 * (@webslugger)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-overrides/#post-4119347)
 * This is not resolved – the problem is with the plugin, and not with the theme
   I am using.
 * Instead of using this plugin, I installed the “Facebook All” plugin, and it does
   not break or override the WP no comment policy, and it works exactly the way 
   it should. This plugin does not.
 * I think it is a shame that the Official Facebook plugin does not work properly,
   and others do.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin overrides WP's No Comment policies’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [webslugger](https://wordpress.org/support/users/webslugger/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-overrides/#post-4119347)
 * Status: not resolved