Live Chat Inserter

تفصیل

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.

انسٹالیشن

  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.

عمومی سوالات

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.

جائزے

There are no reviews for this plugin.

شراکت دار اور ڈیویلپرز

“Live Chat Inserter” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

“Live Chat Inserter” کا اپنی زبان میں ترجمہ کریں۔

ڈویلپمینٹ میں دلچسپی ہے؟

کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔

چینج لاگ

1.0.0

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