开发者 | gongcj |
---|---|
更新时间 | 2025年8月19日 20:25 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/live-chat-inserter
, or install through the WordPress plugins screen.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.
Yes. Choose "Only Selected Pages" in the settings and select the pages where the script should appear.
Yes. The plugin uses wp_enqueue_script
to safely add the script in the footer. Inputs are sanitized for security.
No. WordPress automatically assigns an ID to scripts loaded via wp_enqueue_script
to avoid duplication and ensure standards compliance.