Title: Live Chat Inserter
Author: gongcj
Published: <strong>August 19, 2025</strong>
Last modified: August 19, 2025

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/live-chat-inserter.svg)

# Live Chat Inserter

 By [gongcj](https://profiles.wordpress.org/gongcj/)

[Download](https://downloads.wordpress.org/plugin/live-chat-inserter.1.0.0.zip)

 * [Details](https://vec.wordpress.org/plugins/live-chat-inserter/#description)
 * [Reviews](https://vec.wordpress.org/plugins/live-chat-inserter/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/live-chat-inserter/#installation)
 * [Development](https://vec.wordpress.org/plugins/live-chat-inserter/#developers)

 [Support](https://wordpress.org/support/plugin/live-chat-inserter/)

## Description

Live Chat Inserter allows you to easily add a Live Chat script to your WordPress
site’s footer.
 You can choose to insert the script on all pages or only selected
pages using a base URL and channel number.

Inputs are sanitized for security and compatibility with WordPress standards.

### Features

 * Insert a live chat script into the footer of all pages or selected pages.
 * Specify script via base URL and channel number; the plugin generates the script
   URL automatically.
 * Choose insertion mode: all pages or specific pages.
 * Sanitized inputs to prevent malicious code injection.
 * Lightweight, simple to configure, and fully translatable.

### Support

For issues, questions, or suggestions, contact the author.

## Installation

 1. Upload the plugin files to `/wp-content/plugins/live-chat-inserter`, or install
    through the WordPress plugins screen.
 2. Activate the plugin via the ‘Plugins’ screen in WordPress.
 3. Go to **Settings > Live Chat Inserter** to configure the base URL, channel number,
    and insertion options.
 4. Save changes. The script will automatically appear in the footer of the selected
    pages.

## FAQ

### How do I provide my script?

Enter the base URL of your live chat script (e.g., https://hello.test.smartpbx.cn)
and your channel number (e.g., LC00001).
 The plugin generates the correct `<script
>` tag automatically and inserts it into the footer.

### Can I select specific pages for the script?

Yes. Choose “Only Selected Pages” in the settings and select the pages where the
script should appear.

### Does this follow WordPress best practices?

Yes. The plugin uses `wp_enqueue_script` to safely add the script in the footer.
Inputs are sanitized for security.

### Do I need to worry about the script ID?

No. WordPress automatically assigns an ID to scripts loaded via `wp_enqueue_script`
to avoid duplication and ensure standards compliance.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Live Chat Inserter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ gongcj ](https://profiles.wordpress.org/gongcj/)

[Translate “Live Chat Inserter” into your language.](https://translate.wordpress.org/projects/wp-plugins/live-chat-inserter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/live-chat-inserter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/live-chat-inserter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/live-chat-inserter/)
by [RSS](https://plugins.trac.wordpress.org/log/live-chat-inserter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.
 * Script insertion via base URL + channel number.
 * Page selection and insertion mode options.
 * Sanitized inputs for security.

## Meta

 *  Version **1.0.0**
 *  Last updated **1 year ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.8.8**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/live-chat-inserter/)
 * Tags
 * [chat widget](https://vec.wordpress.org/plugins/tags/chat-widget/)[footer script](https://vec.wordpress.org/plugins/tags/footer-script/)
   [insert script](https://vec.wordpress.org/plugins/tags/insert-script/)[live chat](https://vec.wordpress.org/plugins/tags/live-chat/)
 *  [Advanced View](https://vec.wordpress.org/plugins/live-chat-inserter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/live-chat-inserter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/live-chat-inserter/reviews/)

## Contributors

 *   [ gongcj ](https://profiles.wordpress.org/gongcj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/live-chat-inserter/)