Title: facebook_comments_wrapper
Last modified: August 20, 2016

---

# facebook_comments_wrapper

 *  Resolved [jmeeter](https://wordpress.org/support/users/jmeeter/)
 * (@jmeeter)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/facebook_comments_wrapper/)
 * Can someone provide more documentation on how to use the “facebook_comments_wrapper”
   filter for enhanced SEO?
 * [http://wordpress.org/extend/plugins/facebook/](http://wordpress.org/extend/plugins/facebook/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/facebook_comments_wrapper/#post-3526331)
 * The `facebook_comments_wrapper` filter allows your site to override the HTML 
   element wrapping Facebook comments on your page. Some publishers rather not have
   any extra markup or the extra request to Facebook’s servers and will return an
   empty string to bypass the functionality.
 * The Facebook Comments Box social plugin is an HTML `div` element with properties
   evaluated by the Facebook PHP SDK after the page has loaded. Some search engines
   can evaluate this later insertion of dynamic HTML or may have created special
   indexing rules to pick up Facebook comments.
 * The Facebook plugin for WordPress also builds on-page markup for existing comments
   stored on Facebook’s servers. These comments are wrapped in an HTML `noscript`
   element by default, showing some comment markup when the page is interpreted 
   by user-agents unable to evaluate JavaScript and the results of a Comments Box
   loaded by the Facebook JavaScript SDK. Including the comments under a noscript
   element is SEO-friendly since you know comments are output with the page for 
   evaluation alongside your post content.
 * If you would rather wrap the output of Facebook comments on your page in a `div`
   or `section` HTML element you may return a new value through the `facebook_comments_wrapper`
   filter and display server-side content to user-agents with JavaScript enabled.

Viewing 1 replies (of 1 total)

The topic ‘facebook_comments_wrapper’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/facebook_comments_wrapper/#post-3526331)
 * Status: resolved