Title: Chat Plugin not adding code to page
Last modified: May 22, 2021

---

# Chat Plugin not adding code to page

 *  [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [5 years ago](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/)
 * Hi,
 * I’ve added the plugin but the plugin doesn’t add the code that includes a div
   tag with the class attribute fb-customerchat to the source html of the page.
 * I’ve cleared the caches, disabled all plugins except for the FB Chat plugin, 
   retested, and it still doesn’t add the Chat code to the source html.
 * Currently running WP 5.7,
 * Suggestions?
 * Thanks,
 * Chris
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchat-plugin-not-adding-code-to-page%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Facebook](https://wordpress.org/support/users/facebook/)
 * (@facebook)
 * [5 years ago](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/#post-14481913)
 * Hi [@christopheran](https://wordpress.org/support/users/christopheran/),
 * I would recommend:
    – Upgrading to the latest version of the WordPress plugin.–
   If you’re using the “Custom pages” setting in “Advanced Configuration”, ensure
   that you’ve checked the boxes for the pages of your site on which you’d like 
   the plugin to appear. – Check that the settings have been saved to your WP database
   properly. If the button on the “Getting Started?” card still reads “Setup Chat
   plugin”, then that is an indication that no settings have yet been saved.
 * Hope this helps!
 * Facebook Team
 *  Thread Starter [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [5 years ago](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/#post-14488003)
 * Hi FB Team,
 * I am still getting the ‘Setup Chat Plugin’ on the ‘Getting Started?’ card, even
   after going through the steps and hitting the ‘publish’ button and getting a 
   message that says “you’re changes have been published”.
 * What would cause it not to save in the database? I have other plugins installed
   that use the database without any issues,
 * Chris
 *  Plugin Author [Facebook](https://wordpress.org/support/users/facebook/)
 * (@facebook)
 * [5 years ago](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/#post-14519219)
 * Hi [@christopheran](https://wordpress.org/support/users/christopheran/),
 * We’re looking into the possible causes of this, though it is a little difficult
   to diagnose, as we’re unable to reproduce it.
 * Do you have access to the database that your WordPress installation runs on?
 * Thanks,
 * Facebook Team
 *  Thread Starter [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [5 years ago](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/#post-14520773)
 * Yep, what can I do for you?
 * Or if you need admin access to investigate, you can drop me a note at [chris@andrews.com](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/chris@andrews.com?output_format=md)
 * Chris

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

The topic ‘Chat Plugin not adding code to page’ is closed to new replies.

 * ![](https://ps.w.org/facebook-messenger-customer-chat/assets/icon-256x256.png?
   rev=2398892)
 * [Facebook Chat Plugin - Live Chat Plugin for WordPress](https://wordpress.org/plugins/facebook-messenger-customer-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-messenger-customer-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [christopheran](https://wordpress.org/support/users/christopheran/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/chat-plugin-not-adding-code-to-page/#post-14520773)
 * Status: not resolved