{"id":245942,"date":"2025-08-19T12:26:22","date_gmt":"2025-08-19T12:26:22","guid":{"rendered":"https:\/\/cn.wordpress.org\/plugins\/live-chat-inserter\/"},"modified":"2025-08-19T12:25:52","modified_gmt":"2025-08-19T12:25:52","slug":"live-chat-inserter","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/live-chat-inserter\/","author":23344244,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Live Chat Inserter","header_author":"gongcj","header_description":"Insert a validated Live Chat script into the footer of all or selected pages.","assets_banners_color":"","last_updated":"2025-08-19 12:25:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":201,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"gongcj","date":"2025-08-19 12:25:52"}},"upgrade_notice":{"1.0.0":"<p>First public release. Add a live chat script to your WordPress site easily and flexibly.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[14160,3325,36740,2379],"plugin_category":[],"plugin_contributors":[246532],"plugin_business_model":[],"class_list":["post-245942","plugin","type-plugin","status-publish","hentry","plugin_tags-chat-widget","plugin_tags-footer-script","plugin_tags-insert-script","plugin_tags-live-chat","plugin_contributors-gongcj","plugin_committers-gongcj"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/live-chat-inserter.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Live Chat Inserter allows you to easily add a Live Chat script to your WordPress site's footer. \nYou can choose to insert the script on all pages or only selected pages using a base URL and channel number.<\/p>\n\n<p>Inputs are sanitized for security and compatibility with WordPress standards.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Insert a live chat script into the footer of all pages or selected pages.<\/li>\n<li>Specify script via base URL and channel number; the plugin generates the script URL automatically.<\/li>\n<li>Choose insertion mode: all pages or specific pages.<\/li>\n<li>Sanitized inputs to prevent malicious code injection.<\/li>\n<li>Lightweight, simple to configure, and fully translatable.<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>For issues, questions, or suggestions, contact the author.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/live-chat-inserter<\/code>, or install through the WordPress plugins screen.<\/li>\n<li>Activate the plugin via the 'Plugins' screen in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Live Chat Inserter<\/strong> to configure the base URL, channel number, and insertion options.<\/li>\n<li>Save changes. The script will automatically appear in the footer of the selected pages.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20provide%20my%20script%3F'><h3>How do I provide my script?<\/h3><\/dt>\n<dd><p>Enter the base URL of your live chat script (e.g., https:\/\/hello.test.smartpbx.cn) and your channel number (e.g., LC00001). \nThe plugin generates the correct <code>&lt;script&gt;<\/code> tag automatically and inserts it into the footer.<\/p><\/dd>\n<dt id='can%20i%20select%20specific%20pages%20for%20the%20script%3F'><h3>Can I select specific pages for the script?<\/h3><\/dt>\n<dd><p>Yes. Choose \"Only Selected Pages\" in the settings and select the pages where the script should appear.<\/p><\/dd>\n<dt id='does%20this%20follow%20wordpress%20best%20practices%3F'><h3>Does this follow WordPress best practices?<\/h3><\/dt>\n<dd><p>Yes. The plugin uses <code>wp_enqueue_script<\/code> to safely add the script in the footer. Inputs are sanitized for security.<\/p><\/dd>\n<dt id='do%20i%20need%20to%20worry%20about%20the%20script%20id%3F'><h3>Do I need to worry about the script ID?<\/h3><\/dt>\n<dd><p>No. WordPress automatically assigns an ID to scripts loaded via <code>wp_enqueue_script<\/code> to avoid duplication and ensure standards compliance.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Script insertion via base URL + channel number.<\/li>\n<li>Page selection and insertion mode options.<\/li>\n<li>Sanitized inputs for security.<\/li>\n<\/ul>","raw_excerpt":"Live Chat Inserter allows you to easily add a Live Chat script to your WordPress site&#039;s footer.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/245942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=245942"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gongcj"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=245942"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=245942"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=245942"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=245942"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=245942"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=245942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}